aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-03-30 04:13:47 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-03-30 04:13:47 +0800
commit1cd329bacb3ac8f68a268af6f41d452146fb4b80 (patch)
tree7b81d5bdd764ec6d368098511f15af0d835d4c0a /camel
parentfc42513ceb7324d08ff725db90cbd1407d37d19b (diff)
downloadgsoc2013-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')
-rw-r--r--camel/ChangeLog12
-rw-r--r--camel/providers/local/camel-local-folder.c1
-rw-r--r--camel/providers/local/camel-mbox-store.c4
3 files changed, 13 insertions, 4 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 1878664afa..fc8167b063 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,15 @@
+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.
+
2004-03-29 Radek Doulik <rodo@ximian.com>
* camel-mime-filter-tohtml.c (html_convert): close pre tag in case
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))