Added some accelerator keys to the menu items. 20140308030511/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Fri, 7 Mar 2014 08:00:25 +0000 (09:00 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Fri, 7 Mar 2014 08:00:25 +0000 (09:00 +0100)
Thanks to Dr. Soumalya Ray for reporting this deficiency.

src/ui/gui/data-editor.ui
src/ui/gui/help-menu.c
src/ui/gui/output-viewer.ui

index 2a1f88c429e440160d09abd3bf3ac93f01578bd8..6fded8e99186b40b42f3a746c558c25cce52aee0 100644 (file)
@@ -36,6 +36,7 @@
             <property name="name">file_open</property>
             <property name="label" translatable="yes">_Open...</property>
           </object>
+         <accelerator key="O" modifiers="GDK_CONTROL_MASK"/>
         </child>
         <child>
           <object class="GtkAction" id="file_import">
@@ -57,6 +58,7 @@
             <property name="name">file_save</property>
            <property name="label" translatable="yes">_Save</property>
           </object>
+         <accelerator key="S" modifiers="GDK_CONTROL_MASK"/>
         </child>
         <child>
           <object class="GtkAction" id="file_save_as">
@@ -64,6 +66,7 @@
             <property name="name">file_save_as</property>
             <property name="label" translatable="yes">Save _As...</property>
           </object>
+         <accelerator key="S" modifiers="GDK_CONTROL_MASK | GDK_SHIFT_MASK"/>
         </child>
         <child>
           <object class="GtkAction" id="file-information">
index e670c0b555b5b80f0ab5110dff05474d950408fb..33a9407f71fc8532930b91c9db2fd1f3f407a531 100644 (file)
@@ -132,7 +132,7 @@ merge_help_menu (GtkUIManager *uim)
     
       {
        "help_reference", "help-reference-manual",            /* name, stock id */
-       N_("_Reference Manual"), NULL,               /* label, accelerator */
+       N_("_Reference Manual"), "F1",               /* label, accelerator */
        NULL,                                        /* tooltip */
        G_CALLBACK (reference_manual)
       },
index c8450264c7fbd02fbfa487e53cbc434bdf1775c7..a9b7702e5b6a62b933736cb2dae17290f1aa18da 100644 (file)
@@ -15,6 +15,7 @@
             <property name="stock-id">file-print</property>
             <property name="label" translatable="yes">_Print...</property>
           </object>
+         <accelerator key="P" modifiers="GDK_CONTROL_MASK"/>
         </child>
         <child>
           <object class="GtkAction" id="file_export">