[gnome-chess/arnaudb/ctrl-p: 2/2] Improve Shortcuts dialog.



commit faded5fb64d4bd4b7e3072e46d5fb9803edd5b95
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Wed Apr 8 19:33:15 2020 +0200

    Improve Shortcuts dialog.

 data/help-overlay.ui | 41 +++++++++++++++++++++--------------------
 1 file changed, 21 insertions(+), 20 deletions(-)
---
diff --git a/data/help-overlay.ui b/data/help-overlay.ui
index 690d7c1..8b9fee5 100644
--- a/data/help-overlay.ui
+++ b/data/help-overlay.ui
@@ -6,6 +6,7 @@
     <child>
       <object class="GtkShortcutsSection">
         <property name="visible">1</property>
+        <property name="max-height">8</property>
         <child>
           <object class="GtkShortcutsGroup">
             <property name="title" translatable="yes" context="shortcut window">General</property>
@@ -61,26 +62,6 @@
             </child>
           </object>
         </child>
-        <child>
-          <object class="GtkShortcutsGroup">
-            <property name="title" translatable="yes" context="shortcut window">Help</property>
-            <property name="visible">1</property>
-            <child>
-              <object class="GtkShortcutsShortcut">
-                <property name="visible">1</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;Primary&gt;question &lt;Primary&gt;F1</property>
-                <property name="title" translatable="yes" context="shortcut window">Show Keyboard 
Shortcuts</property>
-              </object>
-            </child>
-          </object>
-        </child>
         <child>
           <object class="GtkShortcutsGroup">
             <property name="title" translatable="yes" context="shortcut window">History</property>
@@ -113,8 +94,28 @@
                 <property name="title" translatable="yes" context="shortcut window">Show the current 
move</property>
               </object>
             </child>
+          </object>
+        </child>
+        <child>
+          <object class="GtkShortcutsGroup">
+            <property name="title" translatable="yes" context="shortcut window">Help</property>
+            <property name="visible">1</property>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">1</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;Primary&gt;question &lt;Primary&gt;F1</property>
+                <property name="title" translatable="yes" context="shortcut window">Show Keyboard 
Shortcuts</property>
               </object>
             </child>
+          </object>
+        </child>
       </object>
     </child>
   </object>


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