aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view-menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r--shell/e-shell-view-menu.c12
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
};