[devhelp] Window: update gear_app_menu (for desktop environments without app menu)



commit d576e92405c41ca99995879953691a20635c711b
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Jun 3 15:13:08 2017 +0200

    Window: update gear_app_menu (for desktop environments without app menu)
    
    - Move 'Side Panel' at the same place as in gear_menu, for consistency.
    - Add 'Keyboard Shortcuts' (it was present only in the app-menu in
    devhelp-menu.ui).

 src/dh-window.ui |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/src/dh-window.ui b/src/dh-window.ui
index 62837ad..6e6a29c 100644
--- a/src/dh-window.ui
+++ b/src/dh-window.ui
@@ -50,6 +50,13 @@
     </section>
     <section>
       <item>
+        <attribute name="label" translatable="yes">_Side Panel</attribute>
+        <attribute name="action">win.show-sidebar</attribute>
+        <attribute name="stateful">true</attribute>
+      </item>
+    </section>
+    <section>
+      <item>
         <attribute name="label" translatable="yes">_Print</attribute>
         <attribute name="action">win.print</attribute>
         <attribute name="accel">&lt;Primary&gt;p</attribute>
@@ -79,17 +86,16 @@
     </section>
     <section>
       <item>
-        <attribute name="label" translatable="yes">_Side Panel</attribute>
-        <attribute name="action">win.show-sidebar</attribute>
-        <attribute name="stateful">true</attribute>
-      </item>
-      <item>
         <attribute name="label" translatable="yes">_Preferences</attribute>
         <attribute name="action">app.preferences</attribute>
       </item>
     </section>
     <section>
       <item>
+        <attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
+        <attribute name="action">app.shortcuts</attribute>
+      </item>
+      <item>
         <attribute name="label" translatable="yes">_About Devhelp</attribute>
         <attribute name="action">app.about</attribute>
       </item>


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