[gnome-clocks] Update Keyboard Shortcuts page



commit a6a90dfdcfa31cce05cb813943d841f955c22ab4
Author: Sabri Ünal <libreajans gmail com>
Date:   Sat Feb 1 23:07:48 2020 +0000

    Update Keyboard Shortcuts page

 data/gtk/help-overlay.ui | 29 +++++++++++++++++++++++++----
 src/application.vala     |  2 +-
 2 files changed, 26 insertions(+), 5 deletions(-)
---
diff --git a/data/gtk/help-overlay.ui b/data/gtk/help-overlay.ui
index 289b030..f4e3a38 100644
--- a/data/gtk/help-overlay.ui
+++ b/data/gtk/help-overlay.ui
@@ -15,15 +15,22 @@
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
-                <property name="accelerator">&lt;ctrl&gt;&lt;alt&gt;Page_Down</property>
-                <property name="title" translatable="yes" context="shortcut window">Go to the next 
section</property>
+                <property name="accelerator">F1</property>
+                <property name="title" translatable="yes" context="shortcut window">Show help</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
-                <property name="accelerator">&lt;ctrl&gt;&lt;alt&gt;Page_Up</property>
-                <property name="title" translatable="yes" context="shortcut window">Go to the previous 
section</property>
+                <property name="accelerator">F10</property>
+                <property name="title" translatable="yes" context="shortcut window">Open menu</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">1</property>
+                <property name="accelerator">&lt;ctrl&gt;question</property>
+                <property name="title" translatable="yes" context="shortcut window">Keyboard 
shortcuts</property>
               </object>
             </child>
             <child>
@@ -33,6 +40,20 @@
                 <property name="title" translatable="yes" context="shortcut window">Quit</property>
               </object>
             </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">1</property>
+                <property name="accelerator">&lt;ctrl&gt;&lt;alt&gt;Page_Down</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to the next 
section</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">1</property>
+                <property name="accelerator">&lt;ctrl&gt;&lt;alt&gt;Page_Up</property>
+                <property name="title" translatable="yes" context="shortcut window">Go to the previous 
section</property>
+              </object>
+            </child>
           </object>
         </child>
         <child>
diff --git a/src/application.vala b/src/application.vala
index 25b5e67..509ce54 100644
--- a/src/application.vala
+++ b/src/application.vala
@@ -133,7 +133,7 @@ public class Application : Gtk.Application {
         set_accels_for_action ("win.new", { "<Primary>n" });
         set_accels_for_action ("win.select-all", { "<Primary>a" });
         set_accels_for_action ("win.show-primary-menu", { "F10" });
-        set_accels_for_action ("win.show-help-overlay", { "<Primary>F10" });
+        set_accels_for_action ("win.show-help-overlay", { "<Primary>question" });
         set_accels_for_action ("win.help", { "F1" });
         set_accels_for_action ("app.quit", { "<Primary>q" });
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]