aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/em-folder-selector.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 77c1b6476b..4501501bce 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2004-06-01 Not Zed <NotZed@Ximian.com>
+ * em-folder-selector.c (em_folder_selector_get_selected_uri): set
+ the right path on the url.
+
* mail-signature-editor.c (load_signature): ugh, unlike camel
exceptions, you can't pass NULL to CORBA calls.
(mail_signature_editor): ditto. See bug #58815.
diff --git a/mail/em-folder-selector.c b/mail/em-folder-selector.c
index 38ff9ed391..ad20059fd4 100644
--- a/mail/em-folder-selector.c
+++ b/mail/em-folder-selector.c
@@ -360,7 +360,7 @@ em_folder_selector_get_selected_uri (EMFolderSelector *emfs)
char *path;
path = g_strdup_printf("%s/%s", (url->path == NULL || strcmp(url->path, "/") == 0) ? "":url->path, name);
- camel_url_set_path(url, newpath);
+ camel_url_set_path(url, path);
if (path[0] == '/') {
newpath = g_strdup(path+1);
g_free(path);