diff options
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r-- | shell/e-shell-view-menu.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c index 3f07b171bb..187348ae85 100644 --- a/shell/e-shell-view-menu.c +++ b/shell/e-shell-view-menu.c @@ -347,6 +347,20 @@ command_open_folder_in_new_window (BonoboUIComponent *uih, } +/* Folder operations. */ + +static void +command_move_folder (BonoboUIComponent *uih, + void *data, + const char *path) +{ + EShellView *shell_view; + + shell_view = E_SHELL_VIEW (data); + e_shell_command_move_folder (e_shell_view_get_shell (shell_view), shell_view); +} + + /* Going to a folder. */ static void @@ -394,6 +408,7 @@ command_goto_folder (BonoboUIComponent *uih, folder_selection_dialog = e_shell_folder_selection_dialog_new (shell, _("Go to folder..."), + _("Select the folder that you want to open"), current_uri, NULL); @@ -516,6 +531,7 @@ BonoboUIVerb file_verbs [] = { BonoboUIVerb folder_verbs [] = { BONOBO_UI_VERB ("OpenFolderInNewWindow", command_open_folder_in_new_window), + BONOBO_UI_VERB ("MoveFolder", command_move_folder), BONOBO_UI_VERB_END }; |