aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2003-12-04 03:02:19 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-12-04 03:02:19 +0800
commit2a6e9f19c556e7f071e31cd99e34e05ffaec448a (patch)
treedfba5a38838b2032c9530771ea3bf729d236c289 /mail
parent84f290000d208c163c039dcd1f4d385d30b4d755 (diff)
downloadgsoc2013-evolution-2a6e9f19c556e7f071e31cd99e34e05ffaec448a.tar.gz
gsoc2013-evolution-2a6e9f19c556e7f071e31cd99e34e05ffaec448a.tar.zst
gsoc2013-evolution-2a6e9f19c556e7f071e31cd99e34e05ffaec448a.zip
(emft_popup_rename_folder): Set oldpath and newpath to the proper
values. Fixes bug #51656. svn path=/trunk/; revision=23616
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog2
-rw-r--r--mail/em-folder-tree.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index b98feb30c7..6d3cdf0b2a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -3,6 +3,8 @@
* em-folder-tree.c (em_folder_tree_set_selected): Need to prepend
a "/" to path if the path is the url fragment. Also fixed to
select the store node if path == "/".
+ (emft_popup_rename_folder): Set oldpath and newpath to the proper
+ values. Fixes bug #51656.
* em-folder-selector.c (em_folder_selector_get_selected_uri):
Fixed a FIXME by using the CamelProvider url flags to determine if
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index b8d05071e9..d2f25793e4 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -1265,8 +1265,8 @@ emft_popup_rename_folder (GtkWidget *item, EMFolderTree *emft)
} else {
const char *oldpath, *newpath;
- oldpath = folder_path + 1;
- newpath = path + 1;
+ oldpath = full_name;
+ newpath = path;
d(printf ("renaming %s to %s\n", oldpath, newpath));