diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/summaryview.c | 4 |
2 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2006-08-02 + + * src/sumaryview.c: + summary_filter_func() + summary_filter_junk_func(): fixed a bug that flag changes were not + saved with manual filtering. + 2006-07-31 * version 2.2.7 diff --git a/src/summaryview.c b/src/summaryview.c index e1dc5b59..38d30e9d 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -4342,6 +4342,8 @@ static gboolean summary_filter_func(GtkTreeModel *model, GtkTreePath *path, if (msginfo->flags.perm_flags != fltinfo->flags.perm_flags) { msginfo->flags = fltinfo->flags; + MSG_SET_TMP_FLAGS(msginfo->flags, MSG_FLAG_CHANGED); + summaryview->folder_item->mark_dirty = TRUE; summary_set_row(summaryview, iter, msginfo); if (MSG_IS_IMAP(msginfo->flags)) { if (fltinfo->actions[FLT_ACTION_MARK]) @@ -4392,6 +4394,8 @@ static gboolean summary_filter_junk_func(GtkTreeModel *model, GtkTreePath *path, if (msginfo->flags.perm_flags != fltinfo->flags.perm_flags) { msginfo->flags = fltinfo->flags; + MSG_SET_TMP_FLAGS(msginfo->flags, MSG_FLAG_CHANGED); + summaryview->folder_item->mark_dirty = TRUE; summary_set_row(summaryview, iter, msginfo); if (MSG_IS_IMAP(msginfo->flags)) { if (fltinfo->actions[FLT_ACTION_MARK_READ]) |