diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.ja | 5 | ||||
-rw-r--r-- | libsylph/procmsg.c | 2 |
3 files changed, 11 insertions, 1 deletions
@@ -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); |