aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 = "";