aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-09-13 05:33:07 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-09-13 05:46:43 +0800
commitcbf5c62ee8d0bf9d1529f65a1baa25c9a8ff46af (patch)
tree6ff582bc77fab2594a5394afd247e1ef92d24e64 /modules/mail
parentabb6b433052b9c32762dbfb8233aaff7799f736a (diff)
downloadgsoc2013-evolution-cbf5c62ee8d0bf9d1529f65a1baa25c9a8ff46af.tar.gz
gsoc2013-evolution-cbf5c62ee8d0bf9d1529f65a1baa25c9a8ff46af.tar.zst
gsoc2013-evolution-cbf5c62ee8d0bf9d1529f65a1baa25c9a8ff46af.zip
Bug 217066 - Rename folders directly inside folder list
Diffstat (limited to 'modules/mail')
-rw-r--r--modules/mail/e-mail-shell-view-actions.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c
index ca82272fee..e47c9fd7c6 100644
--- a/modules/mail/e-mail-shell-view-actions.c
+++ b/modules/mail/e-mail-shell-view-actions.c
@@ -347,14 +347,11 @@ action_mail_folder_rename_cb (GtkAction *action,
{
EMailShellSidebar *mail_shell_sidebar;
EMFolderTree *folder_tree;
- CamelFolder *folder;
mail_shell_sidebar = mail_shell_view->priv->mail_shell_sidebar;
folder_tree = e_mail_shell_sidebar_get_folder_tree (mail_shell_sidebar);
- folder = em_folder_tree_get_selected_folder (folder_tree);
- g_return_if_fail (folder != NULL);
- em_folder_utils_rename_folder (folder);
+ em_folder_tree_edit_selected (folder_tree);
}
/* Helper for action_mail_folder_select_all_cb() */