[gnome-builder] terminal: move build terminal menu to new documents button



commit 23fe9130686e1a18e79b7d1ed3bbe0179290d470
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jul 21 13:39:09 2017 -0700

    terminal: move build terminal menu to new documents button

 plugins/terminal/gtk/menus.ui |   25 ++++++++++---------------
 1 files changed, 10 insertions(+), 15 deletions(-)
---
diff --git a/plugins/terminal/gtk/menus.ui b/plugins/terminal/gtk/menus.ui
index fa43ec0..b6140f5 100644
--- a/plugins/terminal/gtk/menus.ui
+++ b/plugins/terminal/gtk/menus.ui
@@ -1,19 +1,5 @@
 <?xml version="1.0"?>
 <interface>
-  <menu id="gear-menu">
-    <section id="gear-menu-new-section">
-      <item>
-        <attribute name="label" translatable="yes">_New Terminal</attribute>
-        <attribute name="action">win.new-terminal</attribute>
-        <attribute name="accel">&lt;ctrl&gt;&lt;shift&gt;t</attribute>
-      </item>
-      <item>
-        <attribute name="label" translatable="yes">_New Runtime Terminal</attribute>
-        <attribute name="action">win.new-terminal-in-runtime</attribute>
-        <attribute name="accel">&lt;ctrl&gt;&lt;shift&gt;&lt;alt&gt;t</attribute>
-      </item>
-    </section>
-  </menu>
   <menu id="gb-terminal-view-popup-menu">
     <section id="gb-terminal-view-popup-menu-link-section">
       <item>
@@ -85,8 +71,17 @@
         <attribute name="id">new-terminal</attribute>
         <attribute name="after">new-file</attribute>
         <attribute name="before">new-documentation-page</attribute>
-        <attribute name="label" translatable="yes">New Terminal</attribute>
+        <attribute name="label" translatable="yes">New _Terminal</attribute>
         <attribute name="action">win.new-terminal</attribute>
+        <attribute name="accel">&lt;ctrl&gt;&lt;shift&gt;t</attribute>
+      </item>
+      <item>
+        <attribute name="id">new-build-terminal</attribute>
+        <attribute name="after">new-terminal</attribute>
+        <attribute name="before">new-build-terminal</attribute>
+        <attribute name="label" translatable="yes">New _Build Terminal</attribute>
+        <attribute name="action">win.new-terminal-in-runtime</attribute>
+        <attribute name="accel">&lt;ctrl&gt;&lt;shift&gt;&lt;alt&gt;t</attribute>
       </item>
     </section>
   </menu>


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