diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-05-20 22:45:47 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-05-20 22:45:47 +0800 |
commit | e9a5c3d19ce9cd6c68b4dc288215464d06868e3b (patch) | |
tree | e069ccf34850a2ff98f9ff3558d50cc6bd1c0d28 /shell/e-shell-view-menu.c | |
parent | 047d10743cda9e5198e0e1cde0d7817aa61c811e (diff) | |
download | gsoc2013-evolution-e9a5c3d19ce9cd6c68b4dc288215464d06868e3b.tar gsoc2013-evolution-e9a5c3d19ce9cd6c68b4dc288215464d06868e3b.tar.gz gsoc2013-evolution-e9a5c3d19ce9cd6c68b4dc288215464d06868e3b.tar.bz2 gsoc2013-evolution-e9a5c3d19ce9cd6c68b4dc288215464d06868e3b.tar.lz gsoc2013-evolution-e9a5c3d19ce9cd6c68b4dc288215464d06868e3b.tar.xz gsoc2013-evolution-e9a5c3d19ce9cd6c68b4dc288215464d06868e3b.tar.zst gsoc2013-evolution-e9a5c3d19ce9cd6c68b4dc288215464d06868e3b.zip |
Implemented the "Copy Folder" and "Move Folder" menu items. Untested.
svn path=/trunk/; revision=9899
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r-- | shell/e-shell-view-menu.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c index 187348ae85..eb9059330b 100644 --- a/shell/e-shell-view-menu.c +++ b/shell/e-shell-view-menu.c @@ -360,6 +360,17 @@ command_move_folder (BonoboUIComponent *uih, e_shell_command_move_folder (e_shell_view_get_shell (shell_view), shell_view); } +static void +command_copy_folder (BonoboUIComponent *uih, + void *data, + const char *path) +{ + EShellView *shell_view; + + shell_view = E_SHELL_VIEW (data); + e_shell_command_copy_folder (e_shell_view_get_shell (shell_view), shell_view); +} + /* Going to a folder. */ @@ -532,6 +543,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 ("CopyFolder", command_copy_folder), BONOBO_UI_VERB_END }; |