From cbf5c62ee8d0bf9d1529f65a1baa25c9a8ff46af Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 12 Sep 2009 16:33:07 -0500 Subject: Bug 217066 - Rename folders directly inside folder list --- modules/mail/e-mail-shell-view-actions.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'modules/mail') 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() */ -- cgit