[gnome-disk-utility] Add a shortcut for Keyboard Shorcuts page



commit 558d0080fea23af142e5c3c7d511d6e12915f061
Author: Sabri Ünal <libreajans gmail com>
Date:   Mon Jan 13 22:40:47 2020 +0300

    Add a shortcut for Keyboard Shorcuts page

 src/disks/gduapplication.c | 2 ++
 src/disks/ui/shortcuts.ui  | 7 +++++++
 2 files changed, 9 insertions(+)
---
diff --git a/src/disks/gduapplication.c b/src/disks/gduapplication.c
index a319e394..c4697fe3 100644
--- a/src/disks/gduapplication.c
+++ b/src/disks/gduapplication.c
@@ -421,6 +421,8 @@ gdu_application_startup (GApplication *_app)
 
     "app.help",                  "F1", NULL,
     "app.quit",                  "<Primary>Q", NULL,
+    "app.shortcuts",             "<Primary>question", NULL,
+
     NULL
   };
 
diff --git a/src/disks/ui/shortcuts.ui b/src/disks/ui/shortcuts.ui
index b338253f..d4bbb5dd 100644
--- a/src/disks/ui/shortcuts.ui
+++ b/src/disks/ui/shortcuts.ui
@@ -32,6 +32,13 @@
                 <property name="accelerator">F1</property>
               </object>
             </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="title" translatable="yes" context="shortcut window">Keyboard 
shortcuts</property>
+                <property name="accelerator">&lt;Primary&gt;question</property>
+              </object>
+            </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>


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