fixed the mark loss of hidden messages.
authorHiroyuki Yamamoto <hiro-y@kcn.ne.jp>
Sat, 27 Apr 2002 09:43:53 +0000 (09:43 +0000)
committerHiroyuki Yamamoto <hiro-y@kcn.ne.jp>
Sat, 27 Apr 2002 09:43:53 +0000 (09:43 +0000)
ChangeLog.claws
configure.in
src/summaryview.c

index 2b841df64cc8baf21131bf0be8c67b762f881824..2b29e08a1b15cfdffc91d33492937f441f5361b2 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-27 [hiro]      0.7.4claws102
+
+       * src/summaryview.c
+               summary_write_cache(): fixed the mark loss of hidden messages.
+
 2002-04-26 [melvin]    0.7.4claws101
 
        * src/procmsg.c
index 65112a15d9520eecf22dfa1849ecea515516b67c..0bad44d3f2dc35bdd69a4d33ab39c2910d1e3180 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=4
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws101
+EXTRA_VERSION=claws102
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 5ca1427e5c8fb8b5cc7dcb378223d62f485dd67a..10d9b6ffb3ba7bb45f5ce9afb4c726d8e39075bd 100644 (file)
@@ -2111,7 +2111,7 @@ gint summary_write_cache(SummaryView *summaryview)
        gint ver = CACHE_VERSION;
        gchar *buf;
        gchar *cachefile, *markfile;
-       GSList * cur;
+       GSList *cur;
        gint filemode = 0;
        PrefsFolderItem *prefs;
 
@@ -2177,6 +2177,12 @@ gint summary_write_cache(SummaryView *summaryview)
 
        gtk_ctree_pre_recursive(ctree, NULL, summary_write_cache_func, &fps);
 
+       for (cur = summaryview->killed_messages; cur != NULL; cur = cur->next) {
+               MsgInfo *msginfo = (MsgInfo *)cur->data;
+               procmsg_write_cache(msginfo, fps.cache_fp);
+               procmsg_write_flags(msginfo, fps.mark_fp);
+       }
+
        procmsg_flush_mark_queue(summaryview->folder_item, fps.mark_fp);
 
        fclose(fps.cache_fp);