aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/local/camel-local-folder.c1
-rw-r--r--camel/providers/local/camel-mbox-store.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/camel/providers/local/camel-local-folder.c b/camel/providers/local/camel-local-folder.c
index b61414074e..bd9d259dce 100644
--- a/camel/providers/local/camel-local-folder.c
+++ b/camel/providers/local/camel-local-folder.c
@@ -320,6 +320,7 @@ camel_local_folder_construct(CamelLocalFolder *lf, CamelStore *parent_store, con
fi->uri = camel_url_to_string (url, 0);
fi->unread = camel_folder_get_unread_message_count(folder);
camel_folder_info_build_path(fi, '/');
+ fi->flags = CAMEL_FOLDER_NOCHILDREN;
camel_url_free (url);
diff --git a/camel/providers/local/camel-mbox-store.c b/camel/providers/local/camel-mbox-store.c
index e8c47c5672..b9d3a976d1 100644
--- a/camel/providers/local/camel-mbox-store.c
+++ b/camel/providers/local/camel-mbox-store.c
@@ -767,8 +767,6 @@ get_folder_info(CamelStore *store, const char *top, guint32 flags, CamelExceptio
top = top ? top : "";
path = mbox_folder_name_to_path(store, top);
- printf ("mbox_get_folder_info for '%s'; path = %s\n", top, path);
-
if (*top == '\0') {
/* requesting root dir scan */
if (stat(path, &st) == -1 || !S_ISDIR(st.st_mode)) {
@@ -819,8 +817,6 @@ get_folder_info(CamelStore *store, const char *top, guint32 flags, CamelExceptio
fi->total = -1;
fi->path = g_strdup_printf("/%s", top);
- printf ("fi->uri = %s\n\n", fi->uri);
-
subdir = g_strdup_printf("%s.sbd", path);
if (stat(subdir, &st) == 0) {
if (S_ISDIR(st.st_mode))