diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-08-02 07:46:31 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-08-02 07:46:31 +0000 |
commit | 6a355b0c1987ba5c5cba282673dc9add039e6f22 (patch) | |
tree | d8091f3f7890a8cf75bb022b7b14be741965d9bf /src/summaryview.c | |
parent | d6d2e873033e66b1f47a27d1598608892176606b (diff) |
fixed a bug that flag changes were not saved with manual filtering.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1111 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/summaryview.c')
-rw-r--r-- | src/summaryview.c | 4 |
1 files changed, 4 insertions, 0 deletions
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]) |