diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-05-20 00:11:47 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-05-20 00:11:47 +0800 |
commit | f093b333fbee67da990d50b513333272418276e7 (patch) | |
tree | 996e2aaf9806d7adf4bef6ed2e3f4d29d53546a7 /shell/e-shell-view-menu.c | |
parent | 3e519c4e1469b93c8fc6684b6aae53779d4ff270 (diff) | |
download | gsoc2013-evolution-f093b333fbee67da990d50b513333272418276e7.tar.gz gsoc2013-evolution-f093b333fbee67da990d50b513333272418276e7.tar.zst gsoc2013-evolution-f093b333fbee67da990d50b513333272418276e7.zip |
Add a caption to the folder selection dialog widget, and get the
existing dialogs in the shell to use it.
svn path=/trunk/; revision=9894
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 }; |