aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-selector.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-06-25 22:44:49 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-06-25 22:44:49 +0800
commitead0633d3ba2685b2311a26afc66aaa660666688 (patch)
tree7949c95315bde142058d105b463c24875aeffc3a /mail/em-folder-selector.c
parent8f5eaf4319d7bc34d3660fe8a6161142cd96e4e8 (diff)
downloadgsoc2013-evolution-ead0633d3ba2685b2311a26afc66aaa660666688.tar.gz
gsoc2013-evolution-ead0633d3ba2685b2311a26afc66aaa660666688.tar.zst
gsoc2013-evolution-ead0633d3ba2685b2311a26afc66aaa660666688.zip
Don't prepend the path string with a '/'.
2004-06-23 Jeffrey Stedfast <fejj@novell.com> * em-folder-selector.c (em_folder_selector_get_selected_path): Don't prepend the path string with a '/'. * em-folder-tree.c (em_folder_tree_create_folder): This takes a full_name so update the argument to make that clear. (emft_create_folder): Same and also don't strip a leading '/' svn path=/trunk/; revision=26513
Diffstat (limited to 'mail/em-folder-selector.c')
-rw-r--r--mail/em-folder-selector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-folder-selector.c b/mail/em-folder-selector.c
index 9f75db119d..d5aecd9667 100644
--- a/mail/em-folder-selector.c
+++ b/mail/em-folder-selector.c
@@ -419,7 +419,7 @@ em_folder_selector_get_selected_path (EMFolderSelector *emfs)
if (strcmp (path, "") != 0)
newpath = g_strdup_printf ("%s/%s", path, name);
else
- newpath = g_strdup_printf ("/%s", name);
+ newpath = g_strdup (name);
path = emfs->selected_path = newpath;
}