From 5d8c6901ebafda375152a85d3b6b1f24811ee847 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 11 Mar 2004 07:33:52 +0000 Subject: we need to add the folderinfo always if we're recursive from top. Should 2004-03-11 Not Zed * 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. svn path=/trunk/; revision=25025 --- camel/ChangeLog | 4 ++++ camel/camel-vee-store.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'camel') 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 + * 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)); -- cgit v1.2.3