aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-selector.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2003-12-03 04:20:25 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-12-03 04:20:25 +0800
commit00bae1514aefb8d92d4931380a3cf053fefddc51 (patch)
tree1a8741fb87fccf39a5f2b403e6d407d26f99720a /mail/em-folder-selector.c
parent1bcdb2c524ef136e173842a13aba04b764fd9752 (diff)
downloadgsoc2013-evolution-00bae1514aefb8d92d4931380a3cf053fefddc51.tar.gz
gsoc2013-evolution-00bae1514aefb8d92d4931380a3cf053fefddc51.tar.zst
gsoc2013-evolution-00bae1514aefb8d92d4931380a3cf053fefddc51.zip
more fixes
svn path=/trunk/; revision=23587
Diffstat (limited to 'mail/em-folder-selector.c')
-rw-r--r--mail/em-folder-selector.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/em-folder-selector.c b/mail/em-folder-selector.c
index 4a2ac4f2af..b91fc1ce5b 100644
--- a/mail/em-folder-selector.c
+++ b/mail/em-folder-selector.c
@@ -282,6 +282,9 @@ em_folder_selector_get_selected_uri (EMFolderSelector *emfs)
char *newpath;
url = camel_url_new (uri, NULL);
+ /* FIXME: if we try to create a toplevel folder on a
+ * store that uses fragments, url->fragment will be
+ * NULL and so the resultant url will be incorrect */
newpath = g_strdup_printf ("%s/%s", url->fragment ? url->fragment : url->path, gtk_entry_get_text (emfs->name_entry));
if (url->fragment)
camel_url_set_fragment (url, newpath);