diff --git a/thunar/thunar-action-manager.c b/thunar/thunar-action-manager.c index 991f9eaf5b44cd0746804179d617a2dc954ba8d8..9558b2cbb3b4ec138290d1f0ea590a4584c5738a 100644 --- a/thunar/thunar-action-manager.c +++ b/thunar/thunar-action-manager.c @@ -293,17 +293,17 @@ static XfceGtkActionEntry thunar_action_manager_action_entries[] = { THUNAR_ACTION_MANAGER_ACTION_RESTORE_SHOW, "<Actions>/ThunarActionManager/restore-show", "", XFCE_GTK_MENU_ITEM, N_ ("Restore and S_how"), NULL, NULL, G_CALLBACK (thunar_action_manager_action_restore_and_show), }, {THUNAR_ACTION_MANAGER_ACTION_MOVE_TO_TRASH, "<Actions>/ThunarActionManager/move-to-trash", "", XFCE_GTK_IMAGE_MENU_ITEM, N_ ("Mo_ve to Trash"), NULL, "user-trash", G_CALLBACK (thunar_action_manager_action_trash_delete), }, {THUNAR_ACTION_MANAGER_ACTION_TRASH_DELETE, "<Actions>/ThunarActionManager/trash-delete", "Delete", XFCE_GTK_IMAGE_MENU_ITEM, NULL, NULL, NULL, G_CALLBACK (thunar_action_manager_action_trash_delete), }, - {THUNAR_ACTION_MANAGER_ACTION_TRASH_DELETE, "<Actions>/ThunarActionManager/trash-delete-2", "KP_Delete", XFCE_GTK_IMAGE_MENU_ITEM, NULL, NULL, NULL, G_CALLBACK (thunar_action_manager_action_trash_delete), }, + {THUNAR_ACTION_MANAGER_ACTION_TRASH_DELETE_ALT, "<Actions>/ThunarActionManager/trash-delete-2", "KP_Delete", XFCE_GTK_IMAGE_MENU_ITEM, NULL, NULL, NULL, G_CALLBACK (thunar_action_manager_action_trash_delete), }, {THUNAR_ACTION_MANAGER_ACTION_DELETE, "<Actions>/ThunarActionManager/delete", "", XFCE_GTK_IMAGE_MENU_ITEM, N_ ("_Delete"), NULL, "edit-delete", G_CALLBACK (thunar_action_manager_action_delete), }, - {THUNAR_ACTION_MANAGER_ACTION_DELETE, "<Actions>/ThunarActionManager/delete-2", "<Shift>Delete", XFCE_GTK_IMAGE_MENU_ITEM, NULL, NULL, NULL, G_CALLBACK (thunar_action_manager_action_delete), }, - {THUNAR_ACTION_MANAGER_ACTION_DELETE, "<Actions>/ThunarActionManager/delete-3", "<Shift>KP_Delete", XFCE_GTK_IMAGE_MENU_ITEM, NULL, NULL, NULL, G_CALLBACK (thunar_action_manager_action_delete), }, + {THUNAR_ACTION_MANAGER_ACTION_DELETE_ALT_1, "<Actions>/ThunarActionManager/delete-2", "<Shift>Delete", XFCE_GTK_IMAGE_MENU_ITEM, NULL, NULL, NULL, G_CALLBACK (thunar_action_manager_action_delete), }, + {THUNAR_ACTION_MANAGER_ACTION_DELETE_ALT_2, "<Actions>/ThunarActionManager/delete-3", "<Shift>KP_Delete", XFCE_GTK_IMAGE_MENU_ITEM, NULL, NULL, NULL, G_CALLBACK (thunar_action_manager_action_delete), }, { THUNAR_ACTION_MANAGER_ACTION_PASTE, "<Actions>/ThunarActionManager/paste", "<Primary>V", XFCE_GTK_IMAGE_MENU_ITEM, N_ ("_Paste"), N_ ("Move or copy files previously selected by a Cut or Copy command"), "edit-paste", G_CALLBACK (thunar_action_manager_action_paste), }, - { THUNAR_ACTION_MANAGER_ACTION_PASTE, "<Actions>/ThunarActionManager/paste-2", "<Shift>Insert", XFCE_GTK_IMAGE_MENU_ITEM, NULL, NULL, NULL, G_CALLBACK (thunar_action_manager_action_paste), }, + { THUNAR_ACTION_MANAGER_ACTION_PASTE_ALT, "<Actions>/ThunarActionManager/paste-2", "<Shift>Insert", XFCE_GTK_IMAGE_MENU_ITEM, NULL, NULL, NULL, G_CALLBACK (thunar_action_manager_action_paste), }, { THUNAR_ACTION_MANAGER_ACTION_PASTE_INTO_FOLDER,NULL, "", XFCE_GTK_IMAGE_MENU_ITEM, N_ ("_Paste Into Folder"), N_ ("Move or copy files previously selected by a Cut or Copy command into the selected folder"), "edit-paste", G_CALLBACK (thunar_action_manager_action_paste_into_folder), }, { THUNAR_ACTION_MANAGER_ACTION_COPY, "<Actions>/ThunarActionManager/copy", "<Primary>C", XFCE_GTK_IMAGE_MENU_ITEM, N_ ("_Copy"), NULL, "edit-copy", G_CALLBACK (thunar_action_manager_action_copy), }, - { THUNAR_ACTION_MANAGER_ACTION_COPY, "<Actions>/ThunarActionManager/copy-2", "<Primary>Insert", XFCE_GTK_IMAGE_MENU_ITEM, NULL, NULL, NULL, G_CALLBACK (thunar_action_manager_action_copy), }, + { THUNAR_ACTION_MANAGER_ACTION_COPY_ALT, "<Actions>/ThunarActionManager/copy-2", "<Primary>Insert", XFCE_GTK_IMAGE_MENU_ITEM, NULL, NULL, NULL, G_CALLBACK (thunar_action_manager_action_copy), }, { THUNAR_ACTION_MANAGER_ACTION_CUT, "<Actions>/ThunarActionManager/cut", "<Primary>X", XFCE_GTK_IMAGE_MENU_ITEM, N_ ("Cu_t"), NULL, "edit-cut", G_CALLBACK (thunar_action_manager_action_cut), }, - { THUNAR_ACTION_MANAGER_ACTION_CUT, "<Actions>/ThunarActionManager/cut-2", "", XFCE_GTK_IMAGE_MENU_ITEM, NULL, NULL, NULL, G_CALLBACK (thunar_action_manager_action_cut), }, + { THUNAR_ACTION_MANAGER_ACTION_CUT_ALT, "<Actions>/ThunarActionManager/cut-2", "", XFCE_GTK_IMAGE_MENU_ITEM, NULL, NULL, NULL, G_CALLBACK (thunar_action_manager_action_cut), }, { THUNAR_ACTION_MANAGER_ACTION_MOUNT, NULL, "", XFCE_GTK_MENU_ITEM, N_ ("_Mount"), N_ ("Mount the selected device"), NULL, G_CALLBACK (thunar_action_manager_action_mount), }, { THUNAR_ACTION_MANAGER_ACTION_UNMOUNT, NULL, "", XFCE_GTK_MENU_ITEM, N_ ("_Unmount"), N_ ("Unmount the selected device"), NULL, G_CALLBACK (thunar_action_manager_action_unmount), }, diff --git a/thunar/thunar-action-manager.h b/thunar/thunar-action-manager.h index d49291fd35f45af42c8eae2b24cbeb3dc6a685ef..04341927c546ce2229719c6b2969e38e163c6db5 100644 --- a/thunar/thunar-action-manager.h +++ b/thunar/thunar-action-manager.h @@ -64,12 +64,18 @@ typedef enum THUNAR_ACTION_MANAGER_ACTION_RESTORE, THUNAR_ACTION_MANAGER_ACTION_RESTORE_SHOW, THUNAR_ACTION_MANAGER_ACTION_MOVE_TO_TRASH, - THUNAR_ACTION_MANAGER_ACTION_DELETE, THUNAR_ACTION_MANAGER_ACTION_TRASH_DELETE, + THUNAR_ACTION_MANAGER_ACTION_TRASH_DELETE_ALT, + THUNAR_ACTION_MANAGER_ACTION_DELETE, + THUNAR_ACTION_MANAGER_ACTION_DELETE_ALT_1, + THUNAR_ACTION_MANAGER_ACTION_DELETE_ALT_2, THUNAR_ACTION_MANAGER_ACTION_PASTE, + THUNAR_ACTION_MANAGER_ACTION_PASTE_ALT, THUNAR_ACTION_MANAGER_ACTION_PASTE_INTO_FOLDER, THUNAR_ACTION_MANAGER_ACTION_COPY, + THUNAR_ACTION_MANAGER_ACTION_COPY_ALT, THUNAR_ACTION_MANAGER_ACTION_CUT, + THUNAR_ACTION_MANAGER_ACTION_CUT_ALT, THUNAR_ACTION_MANAGER_ACTION_MOUNT, THUNAR_ACTION_MANAGER_ACTION_UNMOUNT, THUNAR_ACTION_MANAGER_ACTION_EJECT,