aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/camel-vee-store.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 5b1cc07452..45455e78a1 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,9 @@
2004-03-11 Not Zed <NotZed@Ximian.com>
+ * camel-vee-store.c (vee_get_folder_info): we need to add the
+ folderinfo always if we're recursive from top. Should fix #52965
+ and maybe the other vfolders not showing on startup bug.
+
* providers/imap/camel-imap-store.c (get_one_folder_offline):
(parse_list_response_as_folder_info): turn off NOINFERIORS always,
translate to nochildren.
diff --git a/camel/camel-vee-store.c b/camel/camel-vee-store.c
index 3d06357132..6bfee52da1 100644
--- a/camel/camel-vee-store.c
+++ b/camel/camel-vee-store.c
@@ -248,8 +248,8 @@ vee_get_folder_info(CamelStore *store, const char *top, guint32 flags, CamelExce
&& ((flags & CAMEL_STORE_FOLDER_INFO_RECURSIVE)
|| strchr(name+toplen+1, '/') == NULL)));
} else {
- if ((flags & CAMEL_STORE_FOLDER_INFO_RECURSIVE) == 0)
- add = strchr(name, '/') == NULL;
+ add = (flags & CAMEL_STORE_FOLDER_INFO_RECURSIVE)
+ || strchr(name, '/') == NULL;
}
d(printf("%sadding '%s'\n", add?"":"not ", name));