diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-06-16 05:40:42 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-06-16 05:40:42 +0000 |
commit | 899f239a05c28f5ae8ec43bb7719e5ce0da0b2e5 (patch) | |
tree | b3e49cdf4273d9b4e174e50ce0f78385b579c9fc | |
parent | 621c4b1976f7c89f769ebe44acb889ca894950b4 (diff) |
fixed wrong unread count of trash folders.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@346 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.ja | 6 | ||||
-rw-r--r-- | src/procmsg.c | 2 |
3 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2005-06-16 + + * src/procmsg.c: procmsg_empty_trash(): unset dirty flag after cleared + cache/mark files (fixed wrong unread count of trash folders). + 2005-06-15 * src/summaryview.[ch] diff --git a/ChangeLog.ja b/ChangeLog.ja index 3ac5f92b..52e65ab7 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,3 +1,9 @@ +2005-06-16 + + * src/procmsg.c: procmsg_empty_trash(): キャッシュ/マークファイルを + クリアした後 dirty フラグを解除するようにした(ごみ箱フォルダの + 未読数がおかしくなるのを修正)。 + 2005-06-15 * src/summaryview.[ch] diff --git a/src/procmsg.c b/src/procmsg.c index 24453368..66ce9fe2 100644 --- a/src/procmsg.c +++ b/src/procmsg.c @@ -1210,6 +1210,8 @@ void procmsg_empty_trash(FolderItem *trash) if (fp) fclose(fp); fp = procmsg_open_mark_file(trash, DATA_WRITE); if (fp) fclose(fp); + trash->cache_dirty = FALSE; + trash->mark_dirty = FALSE; } } |