aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-03-11 15:33:52 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-03-11 15:33:52 +0800
commit5d8c6901ebafda375152a85d3b6b1f24811ee847 (patch)
tree2e0ec4a5f4d81a6346753c64616d3381f5b433c9 /camel
parentd3a7e6343b8484d319faa97ca7908dd50cbe6255 (diff)
downloadgsoc2013-evolution-5d8c6901ebafda375152a85d3b6b1f24811ee847.tar.gz
gsoc2013-evolution-5d8c6901ebafda375152a85d3b6b1f24811ee847.tar.zst
gsoc2013-evolution-5d8c6901ebafda375152a85d3b6b1f24811ee847.zip
we need to add the folderinfo always if we're recursive from top. Should
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. svn path=/trunk/; revision=25025
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));