aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-12-08 06:17:36 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-12-08 06:17:36 +0000
commitfe7940cb8ba4315cb4dfcbffe6df76769580c9ed (patch)
treeb88879b9543f68b9422f0136db473b15e69c50be
parent168a914e917f0c6b336a1a0f2f3d08e35c001d31 (diff)
imap_get_msg_list(): only update mtime when folder is not opened.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@807 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--libsylph/imap.c3
3 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d478b82c..2be1e29a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-08
+
+ * libsylph/imap.c: imap_get_msg_list(): only update mtime when folder
+ is not opened.
+
2005-12-07
* libsylph/mh.c
diff --git a/ChangeLog.ja b/ChangeLog.ja
index cf45a6f0..70df92e6 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,3 +1,8 @@
+2005-12-08
+
+ * libsylph/imap.c: imap_get_msg_list(): フォルダが開いていない場合
+ のみ mtime を更新するようにした。
+
2005-12-07
* libsylph/mh.c
diff --git a/libsylph/imap.c b/libsylph/imap.c
index 5461b10a..c3127cc9 100644
--- a/libsylph/imap.c
+++ b/libsylph/imap.c
@@ -1046,8 +1046,6 @@ static GSList *imap_get_msg_list(Folder *folder, FolderItem *item,
item->mark_dirty = TRUE;
}
- item->mtime = uid_validity;
-
mlist = procmsg_sort_msg_list(mlist, item->sort_key, item->sort_type);
item->last_num = last_uid;
@@ -1059,6 +1057,7 @@ static GSList *imap_get_msg_list(Folder *folder, FolderItem *item,
item->cache_dirty, item->mark_dirty);
if (!item->opened) {
+ item->mtime = uid_validity;
if (item->cache_dirty)
procmsg_write_cache_list(item, mlist);
if (item->mark_dirty)