[gedit] menus: Add preferences-section back, rename new-window-section



commit 5c1324ff8f97d09af41893e0bc71aed711c132cc
Author: Jeffery To <jeffery to gmail com>
Date:   Mon Feb 4 01:17:59 2019 +0800

    menus: Add preferences-section back, rename new-window-section
    
    This restores preferences-section to hamburger-menu in menus.ui.
    
    This also renames new-window-section to app-commands-section (reverting
    7abece93) and adds this section to hamburger-menu in
    menus-traditional.ui.

 gedit/resources/gtk/menus-common.ui      | 2 +-
 gedit/resources/gtk/menus-traditional.ui | 3 +++
 gedit/resources/gtk/menus.ui             | 7 +++++--
 3 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/gedit/resources/gtk/menus-common.ui b/gedit/resources/gtk/menus-common.ui
index 9c1e42b39..2a2fec1a1 100644
--- a/gedit/resources/gtk/menus-common.ui
+++ b/gedit/resources/gtk/menus-common.ui
@@ -135,7 +135,7 @@
           </item>
         </section>
         <section>
-          <attribute name="id">new-window-section</attribute>
+          <attribute name="id">app-commands-section</attribute>
           <item>
             <attribute name="label" translatable="yes">_New Window</attribute>
             <attribute name="action">app.new-window</attribute>
diff --git a/gedit/resources/gtk/menus-traditional.ui b/gedit/resources/gtk/menus-traditional.ui
index 5b7f476d6..ceaee99e3 100644
--- a/gedit/resources/gtk/menus-traditional.ui
+++ b/gedit/resources/gtk/menus-traditional.ui
@@ -21,6 +21,9 @@
         <attribute name="verb-icon">view-fullscreen-symbolic</attribute>
       </item>
     </section>
+    <section>
+      <attribute name="id">app-commands-section</attribute>
+    </section>
     <section>
       <attribute name="id">file-section</attribute>
     </section>
diff --git a/gedit/resources/gtk/menus.ui b/gedit/resources/gtk/menus.ui
index b9f4e85b0..10b9e9406 100644
--- a/gedit/resources/gtk/menus.ui
+++ b/gedit/resources/gtk/menus.ui
@@ -22,7 +22,7 @@
       </item>
     </section>
     <section>
-      <attribute name="id">new-window-section</attribute>
+      <attribute name="id">app-commands-section</attribute>
       <item>
         <attribute name="label" translatable="yes">_New Window</attribute>
         <attribute name="action">app.new-window</attribute>
@@ -107,11 +107,14 @@
       </submenu>
     </section>
     <section>
-      <attribute name="id">app-section</attribute>
+      <attribute name="id">preferences-section</attribute>
       <item>
         <attribute name="label" translatable="yes">_Preferences</attribute>
         <attribute name="action">app.preferences</attribute>
       </item>
+    </section>
+    <section>
+      <attribute name="id">app-section</attribute>
       <item>
         <attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
         <attribute name="action">app.shortcuts</attribute>


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