aboutsummaryrefslogtreecommitdiff
path: root/src/procmsg.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-05-24 11:53:18 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-05-24 11:53:18 +0000
commit12b8032609331b41a77ab7a4a0cbcc3238c86d77 (patch)
tree193d51f0124c87cab74e7d4611887fe9b32c852e /src/procmsg.c
parentc420ff69aa97960e37e13b8fb36c0cd5a8d4cbbb (diff)
optimized writing summary cache.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@285 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/procmsg.c')
-rw-r--r--src/procmsg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/procmsg.c b/src/procmsg.c
index 1a12f096..0dc17a16 100644
--- a/src/procmsg.c
+++ b/src/procmsg.c
@@ -277,9 +277,10 @@ GSList *procmsg_read_cache(FolderItem *item, gboolean scan_file)
/* if the message file doesn't exist or is changed,
don't add the data */
if ((type == F_MH && scan_file &&
- folder_item_is_msg_changed(item, msginfo)) || num == 0)
+ folder_item_is_msg_changed(item, msginfo)) || num == 0) {
procmsg_msginfo_free(msginfo);
- else {
+ item->cache_dirty = TRUE;
+ } else {
msginfo->folder = item;
if (!mlist)