[devhelp/ebassi/window-menu: 15/15] Follow the HIG for the main menu




commit 4358d949ef14d76f8458410ac53f494de36da727
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Apr 12 18:30:06 2021 +0100

    Follow the HIG for the main menu
    
    Drop the "Quit" element: there is a "close" button right next to the
    menu button.
    
    Drop the single element section for the "Preferences" element, and
    instead group it with the rest of the application-level actions.

 src/dh-window.ui | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/src/dh-window.ui b/src/dh-window.ui
index 3069dcf9..038a22cd 100644
--- a/src/dh-window.ui
+++ b/src/dh-window.ui
@@ -43,8 +43,6 @@
         <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">win.show-help-overlay</attribute>
@@ -57,10 +55,6 @@
         <attribute name="label" translatable="yes">_About Devhelp</attribute>
         <attribute name="action">app.about</attribute>
       </item>
-      <item>
-        <attribute name="label" translatable="yes">_Quit</attribute>
-        <attribute name="action">app.quit</attribute>
-      </item>
     </section>
   </menu>
   <template class="DhWindow" parent="GtkApplicationWindow">


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