CVS: sylpheedclaws/plugins/mailmbox/src plugin_gtk.c,1.4.2.17,1.4.2.18

[email protected] Wed, 27 Dec 2006 09:44:45 +0000
Newsgroups gmane.mail.sylpheed.claws.cvs
Message-ID <[email protected]>
Update of /pack/anoncvs/sylpheedclaws/plugins/mailmbox/src
In directory sunsite.dk:/tmp/cvs-serv29772/src

Modified Files:
      Tag: gtk2
	plugin_gtk.c 
Log Message:
2006-12-27 [paul]	1.12.3cvs4

	* src/plugin_gtk.c
		Add Copy folder in the folder's contextual
		menu

Index: plugin_gtk.c
===================================================================
RCS file: /pack/anoncvs/sylpheedclaws/plugins/mailmbox/src/plugin_gtk.c,v
retrieving revision 1.4.2.17
retrieving revision 1.4.2.18
diff -u -d -r1.4.2.17 -r1.4.2.18
--- plugin_gtk.c	2006/12/26 21:34:21	1.4.2.17
+++ plugin_gtk.c	2006/12/27 09:44:42	1.4.2.18
@@ -46,8 +46,11 @@
 static GtkItemFactoryEntry mailmbox_popup_entries[] =
 {
 	{N_("/Create _new folder..."),	 NULL, new_folder_cb,     0, NULL},
+	{N_("/---"),			 NULL, NULL,              0, "<Separator>"},
 	{N_("/_Rename folder..."),	 NULL, rename_folder_cb,  0, NULL},
 	{N_("/M_ove folder..."), 	 NULL, move_folder_cb,    0, NULL},
+	{N_("/Cop_y folder..."),	 NULL, move_folder_cb,    1, NULL},
+	{N_("/---"),			 NULL, NULL,              0, "<Separator>"},
 	{N_("/_Delete folder"),		 NULL, delete_folder_cb,  0, NULL},
 	{N_("/---"),			 NULL, NULL,              0, "<Separator>"},
 	{N_("/_Check for new messages"), NULL, update_tree_cb,    0, NULL},
@@ -338,7 +341,7 @@
 	if (!to_folder)
 		return;
 
-	folderview_move_folder(folderview, from_folder, to_folder, FALSE);
+	folderview_move_folder(folderview, from_folder, to_folder, action);
 }
 
 static void rename_folder_cb(FolderView *folderview, guint action,