diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-03-30 04:13:47 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-03-30 04:13:47 +0800 |
commit | 1cd329bacb3ac8f68a268af6f41d452146fb4b80 (patch) | |
tree | 7b81d5bdd764ec6d368098511f15af0d835d4c0a /camel/providers | |
parent | fc42513ceb7324d08ff725db90cbd1407d37d19b (diff) | |
download | gsoc2013-evolution-1cd329bacb3ac8f68a268af6f41d452146fb4b80.tar gsoc2013-evolution-1cd329bacb3ac8f68a268af6f41d452146fb4b80.tar.gz gsoc2013-evolution-1cd329bacb3ac8f68a268af6f41d452146fb4b80.tar.bz2 gsoc2013-evolution-1cd329bacb3ac8f68a268af6f41d452146fb4b80.tar.lz gsoc2013-evolution-1cd329bacb3ac8f68a268af6f41d452146fb4b80.tar.xz gsoc2013-evolution-1cd329bacb3ac8f68a268af6f41d452146fb4b80.tar.zst gsoc2013-evolution-1cd329bacb3ac8f68a268af6f41d452146fb4b80.zip |
Removed debugging printfs.
2004-03-29 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-store.c (get_folder_info): Removed
debugging printfs.
* providers/local/camel-local-folder.c
(camel_local_folder_construct): Since the folder was *just*
created, it shouldn't have any subfolders so set the
CAMEL_FOLDER_NOCHILDREN flag (altho, ideally, we wouldn't be
guessing these flags at all - rather we'd call get_folder_info()
or some such). Fixes bug #56010.
svn path=/trunk/; revision=25231
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/local/camel-local-folder.c | 1 | ||||
-rw-r--r-- | camel/providers/local/camel-mbox-store.c | 4 |
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)) |