diff options
author | Not Zed <NotZed@Ximian.com> | 2004-03-11 07:33:52 +0000 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-03-11 07:33:52 +0000 |
commit | ef1689b7807065c276d96c2d44465904400f4f98 (patch) | |
tree | 146a2cb4bcdd81964282962a8c8f873b6489dbb0 /camel | |
parent | a0e1f0996fe6e3a5440957ddd2cd832ed2ac5bca (diff) | |
download | evolution-data-server-ef1689b7807065c276d96c2d44465904400f4f98.tar.gz |
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.
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 4 | ||||
-rw-r--r-- | camel/camel-vee-store.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 5b1cc0745..45455e78a 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 3d0635713..6bfee52da 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)); |