+2002-08-16 Not Zed <NotZed@Ximian.com>
+
+ * providers/imap/camel-imap-store.c (get_folders): Fix the logic
+ check for working out if we add inbox or not, we do it if we
+ listed the namespace.
+
2002-08-15 Not Zed <NotZed@Ximian.com>
* camel-store.h (CamelFolderInfo): added a flags field, defined
camel_imap_response_free (imap_store, response);
}
-#if 0
+#if 1
static void
dumpfi(CamelFolderInfo *fi)
{
haveinbox = (strcasecmp(fi->full_name, "INBOX")) == 0;
}
- if (!haveinbox && top[0] == 0)
+ if (!haveinbox && top[0] == imap_store->namespace)
get_folders_online(imap_store, "INBOX", folders, FALSE, ex);
for (i=0; i<folders->len; i++)
if (!(flags & CAMEL_STORE_FOLDER_INFO_FAST))
get_folder_counts(imap_store, tree, ex);
+ dumpfi(tree);
+
return tree;
}