Replace missing key accelerators

With the change from using GTK_STOCK_, some default key accelerators
were not specified so add them explicitly.
This commit is contained in:
Robert Fewell 2017-07-15 11:00:46 +01:00 committed by John Ralls
parent 0745cb9af5
commit 804f72373e
5 changed files with 18 additions and 18 deletions

View File

@ -112,17 +112,17 @@ static GtkActionEntry gnc_plugin_page_invoice_actions [] =
/* Edit menu */
{
"EditCutAction", "edit-cut", N_("_Cut"), NULL,
"EditCutAction", "edit-cut", N_("_Cut"), "<primary>X",
NULL,
G_CALLBACK (gnc_plugin_page_invoice_cmd_cut)
},
{
"EditCopyAction", "edit-copy", N_("Copy"), NULL,
"EditCopyAction", "edit-copy", N_("Copy"), "<primary>C",
NULL,
G_CALLBACK (gnc_plugin_page_invoice_cmd_copy)
},
{
"EditPasteAction", "edit-paste", N_("_Paste"), NULL,
"EditPasteAction", "edit-paste", N_("_Paste"), "<primary>V",
NULL,
G_CALLBACK (gnc_plugin_page_invoice_cmd_paste)
},

View File

@ -294,12 +294,12 @@ static GtkActionEntry gnc_menu_actions [] =
G_CALLBACK (gnc_main_window_cmd_file_properties)
},
{
"FileCloseAction", "window-close", N_("_Close"), NULL,
"FileCloseAction", "window-close", N_("_Close"), "<primary>W",
N_("Close the currently active page"),
G_CALLBACK (gnc_main_window_cmd_file_close)
},
{
"FileQuitAction", "application-exit", N_("_Quit"), NULL,
"FileQuitAction", "application-exit", N_("_Quit"), "<primary>Q",
N_("Quit this application"),
G_CALLBACK (gnc_main_window_cmd_file_quit)
},
@ -307,17 +307,17 @@ static GtkActionEntry gnc_menu_actions [] =
/* Edit menu */
{
"EditCutAction", "edit-cut", N_("Cu_t"), NULL,
"EditCutAction", "edit-cut", N_("Cu_t"), "<primary>X",
N_("Cut the current selection and copy it to clipboard"),
G_CALLBACK (gnc_main_window_cmd_edit_cut)
},
{
"EditCopyAction", "edit-copy", N_("_Copy"), NULL,
"EditCopyAction", "edit-copy", N_("_Copy"), "<primary>C",
N_("Copy the current selection to clipboard"),
G_CALLBACK (gnc_main_window_cmd_edit_copy)
},
{
"EditPasteAction", "edit-paste", N_("_Paste"), NULL,
"EditPasteAction", "edit-paste", N_("_Paste"), "<primary>V",
N_("Paste the clipboard content at the cursor position"),
G_CALLBACK (gnc_main_window_cmd_edit_paste)
},
@ -373,7 +373,7 @@ static GtkActionEntry gnc_menu_actions [] =
/* Help menu */
{
"HelpTutorialAction", "help-browser", N_("Tutorial and Concepts _Guide"), NULL,
"HelpTutorialAction", "help-browser", N_("Tutorial and Concepts _Guide"), "<primary>H",
N_("Open the GnuCash Tutorial"),
G_CALLBACK (gnc_main_window_cmd_help_tutorial)
},

View File

@ -232,17 +232,17 @@ static GtkActionEntry gnc_plugin_page_register_actions [] =
/* Edit menu */
{
"EditCutAction", "edit-cut", N_("Cu_t"), NULL,
"EditCutAction", "edit-cut", N_("Cu_t"), "<primary>X",
N_("Cut the current selection and copy it to clipboard"),
G_CALLBACK (gnc_plugin_page_register_cmd_cut)
},
{
"EditCopyAction", "edit-copy", N_("_Copy"), NULL,
"EditCopyAction", "edit-copy", N_("_Copy"), "<primary>C",
N_("Copy the current selection to clipboard"),
G_CALLBACK (gnc_plugin_page_register_cmd_copy)
},
{
"EditPasteAction", "edit-paste", N_("_Paste"), NULL,
"EditPasteAction", "edit-paste", N_("_Paste"), "<primary>V",
N_("Paste the clipboard content at the cursor position"),
G_CALLBACK (gnc_plugin_page_register_cmd_paste)
},

View File

@ -225,17 +225,17 @@ static GtkActionEntry gnc_plugin_page_register2_actions [] =
/* Edit menu */
{
"EditCutAction", "edit-cut", N_("Cu_t"), NULL,
"EditCutAction", "edit-cut", N_("Cu_t"), "<primary>X",
N_("Cut the current selection and copy it to clipboard"),
G_CALLBACK (gnc_plugin_page_register2_cmd_cut)
},
{
"EditCopyAction", "edit-copy", N_("_Copy"), NULL,
"EditCopyAction", "edit-copy", N_("_Copy"), "<primary>C",
N_("Copy the current selection to clipboard"),
G_CALLBACK (gnc_plugin_page_register2_cmd_copy)
},
{
"EditPasteAction", "edit-paste", N_("_Paste"), NULL,
"EditPasteAction", "edit-paste", N_("_Paste"), "<primary>V",
N_("Paste the clipboard content at the cursor position"),
G_CALLBACK (gnc_plugin_page_register2_cmd_paste)
},

View File

@ -1138,17 +1138,17 @@ gnc_plugin_page_report_constr_init(GncPluginPageReport *plugin_page, gint report
G_CALLBACK(gnc_plugin_page_report_exportpdf_cb)
},
{
"EditCutAction", "edit-cut", N_("Cu_t"), NULL,
"EditCutAction", "edit-cut", N_("Cu_t"), "<primary>X",
N_("Cut the current selection and copy it to clipboard"),
NULL
},
{
"EditCopyAction", "edit-copy", N_("_Copy"), NULL,
"EditCopyAction", "edit-copy", N_("_Copy"), "<primary>C",
N_("Copy the current selection to clipboard"),
G_CALLBACK(gnc_plugin_page_report_copy_cb)
},
{
"EditPasteAction", "edit-paste", N_("_Paste"), NULL,
"EditPasteAction", "edit-paste", N_("_Paste"), "<primary>V",
N_("Paste the clipboard content at the cursor position"),
NULL
},