diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-12-04 01:19:51 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-12-04 01:19:51 +0800 |
commit | ba62cfbfdb2a53f06a496f764e95585a1fe4a641 (patch) | |
tree | 3d82a245ff67bccf9cf01b1e7e00166b083ad1d4 /camel | |
parent | 1b43df2c57b8c566e03f391250b9cef94962e415 (diff) | |
download | gsoc2013-evolution-ba62cfbfdb2a53f06a496f764e95585a1fe4a641.tar.gz gsoc2013-evolution-ba62cfbfdb2a53f06a496f764e95585a1fe4a641.tar.zst gsoc2013-evolution-ba62cfbfdb2a53f06a496f764e95585a1fe4a641.zip |
Treat parent_name == NULL and parent_name == "" the same.
2003-12-03 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-store.c (create_folder): Treat
parent_name == NULL and parent_name == "" the same.
svn path=/trunk/; revision=23609
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 3 | ||||
-rw-r--r-- | camel/providers/local/camel-mbox-store.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 4e77a363a3..0ec8c88afe 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,8 @@ 2003-12-03 Jeffrey Stedfast <fejj@ximian.com> + * providers/local/camel-mbox-store.c (create_folder): Treat + parent_name == NULL and parent_name == "" the same. + * camel-store.c (camel_store_get_folder_info): Only add vTrash/vJunk info's if we've requested the toplevel folder tree, otherwise we get vTrash/vJunk folders in odd places in the folder diff --git a/camel/providers/local/camel-mbox-store.c b/camel/providers/local/camel-mbox-store.c index 560ac93482..359036f09b 100644 --- a/camel/providers/local/camel-mbox-store.c +++ b/camel/providers/local/camel-mbox-store.c @@ -312,7 +312,7 @@ create_folder (CamelStore *store, const char *parent_name, const char *folder_na return NULL; } - if (parent_name) + if (parent_name && *parent_name) name = g_strdup_printf ("%s/%s", parent_name, folder_name); else name = g_strdup (folder_name); |