aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-11-18 02:57:34 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-11-18 02:57:34 +0800
commitf9cf09a8bdb53d025026e7ec0a7c8588b4528491 (patch)
tree33296b0f098e5594ab95faee9dead17e53ad6b65 /mail
parentd6360c202d0d5afffc0ac7e63b0c6b8959e878de (diff)
downloadgsoc2013-evolution-f9cf09a8bdb53d025026e7ec0a7c8588b4528491.tar
gsoc2013-evolution-f9cf09a8bdb53d025026e7ec0a7c8588b4528491.tar.gz
gsoc2013-evolution-f9cf09a8bdb53d025026e7ec0a7c8588b4528491.tar.bz2
gsoc2013-evolution-f9cf09a8bdb53d025026e7ec0a7c8588b4528491.tar.lz
gsoc2013-evolution-f9cf09a8bdb53d025026e7ec0a7c8588b4528491.tar.xz
gsoc2013-evolution-f9cf09a8bdb53d025026e7ec0a7c8588b4528491.tar.zst
gsoc2013-evolution-f9cf09a8bdb53d025026e7ec0a7c8588b4528491.zip
Use a folder_name rather than a path as the name argument to
2003-11-17 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_popup_new_folder_response): Use a folder_name rather than a path as the name argument to camel_store_create_folder(), fixes creation of IMAP folders. svn path=/trunk/; revision=23395
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/em-folder-tree.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 89203af080..9dc2d4b51e 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2003-11-17 Jeffrey Stedfast <fejj@ximian.com>
+
+ * em-folder-tree.c (emft_popup_new_folder_response): Use a
+ folder_name rather than a path as the name argument to
+ camel_store_create_folder(), fixes creation of IMAP folders.
+
2003-11-17 Not Zed <NotZed@Ximian.com>
* em-folder-selection-button.c (set_contents): handle an
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index c54c3fabd8..7e6866e73d 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -1233,7 +1233,7 @@ emft_popup_new_folder_response (EMFolderSelector *emfs, int response, EMFolderTr
camel_object_unref (store);
/* FIXME: camel_store_create_folder should just take full path names */
- path = g_strdup (path);
+ path = g_strdup (path[0] == '/' ? path + 1 : path);
if (!(name = strrchr (path, '/'))) {
name = path;
parent = "";