aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--libsylph/procmsg.c2
3 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4fbecd9d..f4b8fb2a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-24
+
+ * libsylph/procsg.c: procmsg_remove_all_cached_messages(): skip
+ virtual folders.
+
2006-01-23
* libsylph/procmsg.[ch]
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 2026d625..009d3635 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,3 +1,8 @@
+2006-01-24
+
+ * libsylph/procsg.c: procmsg_remove_all_cached_messages(): 仮想
+ フォルダをスキップするようにした。
+
2006-01-23
* libsylph/procmsg.[ch]
diff --git a/libsylph/procmsg.c b/libsylph/procmsg.c
index 77b881bc..26abee6a 100644
--- a/libsylph/procmsg.c
+++ b/libsylph/procmsg.c
@@ -1220,7 +1220,7 @@ static gboolean remove_all_cached_messages_func(GNode *node, gpointer data)
g_return_val_if_fail(node->data != NULL, FALSE);
item = FOLDER_ITEM(node->data);
- if (!item->path)
+ if (!item->path || item->stype == F_VIRTUAL)
return FALSE;
dir = folder_item_get_path(item);