aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-06-01 19:30:49 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-06-01 19:30:49 +0800
commit0f0fba1e81c46a4706b93a8efa4e19cf81d51592 (patch)
tree16f9b30b077d051ce521bd3bca8d43522e5eadee
parent1a6fb9ab8807f8ad8c8f79ba1cc4fa7a015c08d6 (diff)
downloadgsoc2013-evolution-0f0fba1e81c46a4706b93a8efa4e19cf81d51592.tar
gsoc2013-evolution-0f0fba1e81c46a4706b93a8efa4e19cf81d51592.tar.gz
gsoc2013-evolution-0f0fba1e81c46a4706b93a8efa4e19cf81d51592.tar.bz2
gsoc2013-evolution-0f0fba1e81c46a4706b93a8efa4e19cf81d51592.tar.lz
gsoc2013-evolution-0f0fba1e81c46a4706b93a8efa4e19cf81d51592.tar.xz
gsoc2013-evolution-0f0fba1e81c46a4706b93a8efa4e19cf81d51592.tar.zst
gsoc2013-evolution-0f0fba1e81c46a4706b93a8efa4e19cf81d51592.zip
set the right path on the url.
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. svn path=/trunk/; revision=26141
-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);