diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-05-27 10:57:37 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-05-27 10:57:37 +0000 |
commit | 0c58540309726e0e476d90ca9d488142a58b4fcd (patch) | |
tree | e66d05f06fe02ba193f1a63a69bcaee8dc8c6596 /src/compose.c | |
parent | 2ddb31bb4cf51711d786e1a994f2a91ed80e7cee (diff) |
optimized the writing of mark file.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@293 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/compose.c')
-rw-r--r-- | src/compose.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compose.c b/src/compose.c index c6eebe64..905ff16c 100644 --- a/src/compose.c +++ b/src/compose.c @@ -716,6 +716,7 @@ void compose_reply(MsgInfo *msginfo, FolderItem *item, ComposeMode mode, MSG_UNSET_PERM_FLAGS(msginfo->flags, MSG_FORWARDED); MSG_SET_PERM_FLAGS(msginfo->flags, MSG_REPLIED); + msginfo->folder->mark_dirty = TRUE; if (MSG_IS_IMAP(msginfo->flags)) imap_msg_set_perm_flags(msginfo, MSG_REPLIED); @@ -791,6 +792,7 @@ void compose_forward(GSList *mlist, FolderItem *item, gboolean as_attach, msginfo = (MsgInfo *)cur->data; MSG_UNSET_PERM_FLAGS(msginfo->flags, MSG_REPLIED); MSG_SET_PERM_FLAGS(msginfo->flags, MSG_FORWARDED); + msginfo->folder->mark_dirty = TRUE; } msginfo = (MsgInfo *)mlist->data; if (MSG_IS_IMAP(msginfo->flags)) |