aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-06-14 07:41:11 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-06-14 07:41:11 +0000
commit68e25a400aa2bba10ef0e02ff23e0cb1d2358d80 (patch)
treedb8175ddf26255d485ae44dd52dd91e01c5ba031
parent1c1be6a9e85e94ea3050af6eebe545d201940720 (diff)
fixed wrong unread number display after moving local unread message to IMAP4 folder.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@338 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/mh.c2
3 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b17ae728..3e953306 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2005-06-14
+ * src/mh.c: mh_remove_msg(): fixed a bug that unintentionally set
+ FolderItem::last_num to 0 (which caused wrong unread number
+ display).
+
+2005-06-14
+
* src/summaryview.c: summary_set_colorlabel(): fixed a bug that the
change of color labels was not saved.
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 25bc6b1d..8d30ab1a 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,10 @@
2005-06-14
+ * src/mh.c: mh_remove_msg(): 意図せず FolderItem::last_num を 0 に
+ セットしていたバグを修正(間違った未読数表示を引き起こしていた)。
+
+2005-06-14
+
* src/summaryview.c: summary_set_colorlabel(): カラーラベルの変更が
保存されていなかったバグを修正。
diff --git a/src/mh.c b/src/mh.c
index 489a8fa6..e3c028d0 100644
--- a/src/mh.c
+++ b/src/mh.c
@@ -649,7 +649,7 @@ static gint mh_remove_msg(Folder *folder, FolderItem *item, MsgInfo *msginfo)
MSG_SET_TMP_FLAGS(msginfo->flags, MSG_INVALID);
if (msginfo->msgnum == item->last_num)
- item->last_num = mh_scan_folder_full(folder, item, FALSE);
+ mh_scan_folder_full(folder, item, FALSE);
return 0;
}