[gnome-builder] menu: add new document



commit a437260efa8f37877150c984c185d31cd030f097
Author: Christian Hergert <christian hergert me>
Date:   Sun Dec 14 01:15:51 2014 -0800

    menu: add new document

 src/resources/gtk/menus.ui |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/resources/gtk/menus.ui b/src/resources/gtk/menus.ui
index f4e06ea..a0e553d 100644
--- a/src/resources/gtk/menus.ui
+++ b/src/resources/gtk/menus.ui
@@ -49,14 +49,18 @@
       <attribute name="id">file-section</attribute>
     </section>
     <section>
-      <attribute name="id">file-section-1</attribute>
+      <item>
+        <attribute name="label" translatable="yes">_New Document</attribute>
+        <attribute name="action">win.new-document</attribute>
+      </item>
+    </section>
+    <section>
       <item>
         <attribute name="label" translatable="yes">_Open</attribute>
         <attribute name="action">win.open</attribute>
       </item>
     </section>
     <section>
-      <attribute name="id">file-section-2</attribute>
       <item>
         <attribute name="label" translatable="yes">Save _All</attribute>
         <attribute name="action">win.save-all</attribute>


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