aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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));