[glom/gmenu] Restore <menu> removed by Glade



commit e84a048a7646c465536ad5b7349aa4158ca7ff99
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Sep 24 11:41:54 2013 +0200

    Restore <menu> removed by Glade

 ui/developer/window_print_layout_edit.glade |  158 +++++++++++++++++++++++++++
 1 files changed, 158 insertions(+), 0 deletions(-)
---
diff --git a/ui/developer/window_print_layout_edit.glade b/ui/developer/window_print_layout_edit.glade
index 8ef2ce2..8cbe502 100644
--- a/ui/developer/window_print_layout_edit.glade
+++ b/ui/developer/window_print_layout_edit.glade
@@ -2,6 +2,164 @@
 <!-- Generated with glade 3.15.4 on Tue Sep 24 11:04:34 2013 -->
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
+
+  <menu id='Menubar'>
+    <submenu>
+      <attribute name='label' translatable='yes'>_File</attribute>
+      <section>
+        <item>
+          <attribute name='label' translatable='yes'>Page Set_up</attribute>
+          <attribute name='action'>printlayout.pagesetup</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>Print Pre_view</attribute>
+          <attribute name='action'>printlayout.printpreview</attribute>
+        </item>
+      </section>
+    </submenu>
+    <submenu>
+      <attribute name='label' translatable='yes'>_Edit</attribute>
+      <section>
+        <item>
+          <attribute name='label' translatable='yes'>Cu_t</attribute>
+          <attribute name='action'>printlayout.cut</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>_Copy</attribute>
+          <attribute name='action'>printlayout.copy</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>_Paste</attribute>
+          <attribute name='action'>printlayout.paste</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>_Delete</attribute>
+          <attribute name='action'>printlayout.delete</attribute>
+        </item>
+      </section>
+      <section>
+        <item>
+          <attribute name='label' translatable='yes'>Select _All</attribute>
+          <attribute name='action'>printlayout.selectall</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>_Unselect All</attribute>
+          <attribute name='action'>printlayout.unselectall</attribute>
+        </item>
+      </section>
+    </submenu>
+    <submenu>
+      <attribute name='label' translatable='yes'>_Insert</attribute>
+      <section>
+        <item>
+          <attribute name='label' translatable='yes'>Insert _Field</attribute>
+          <attribute name='action'>printlayout.insertfield</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>Insert _Text</attribute>
+          <attribute name='action'>printlayout.inserttext</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>Insert _Image</attribute>
+          <attribute name='action'>printlayout.insertimage</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>Insert _Related Records</attribute>
+          <attribute name='action'>printlayout.insertrelatedrecords</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>Insert _Horizontal Line</attribute>
+          <attribute name='action'>printlayout.inserthorizontalline</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>Insert _Vertical Line</attribute>
+          <attribute name='action'>printlayout.insertverticalline</attribute>
+        </item>
+      </section>
+      <section>
+        <item>
+          <attribute name='label' translatable='yes'>Create _Standard</attribute>
+          <attribute name='action'>printlayout.createstandard</attribute>
+        </item>
+      </section>
+      <section>
+        <item>
+          <attribute name='label' translatable='yes'>Add Page</attribute>
+          <attribute name='action'>printlayout.addpage</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>Delete Page</attribute>
+          <attribute name='action'>printlayout.deletepage</attribute>
+        </item>
+      </section>
+    </submenu>
+    <submenu>
+      <attribute name='label' translatable='yes'>_Align</attribute>
+      <section>
+        <item>
+          <attribute name='label' translatable='yes'>Align _Top</attribute>
+          <attribute name='action'>printlayout.aligntop</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>Align _Bottom</attribute>
+          <attribute name='action'>printlayout.alignbottom</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>Align _Left</attribute>
+          <attribute name='action'>printlayout.alignleft</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>Align _Right</attribute>
+          <attribute name='action'>printlayout.alignright</attribute>
+        </item>
+      </section>
+    </submenu>
+    <submenu>
+      <attribute name='label' translatable='yes'>_View</attribute>
+      <section>
+        <item>
+          <attribute name='label' translatable='yes'>Show _Grid</attribute>
+          <attribute name='action'>printlayout.showgrid</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>Show _Rules</attribute>
+          <attribute name='action'>printlayout.showrules</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>Show _Outlines</attribute>
+          <attribute name='action'>printlayout.showoutlines</attribute>
+        </item>
+      </section>
+      <section>
+        <item>
+          <attribute name='label' translatable='yes'>Fit Page _Width</attribute>
+          <attribute name='action'>printlayout.zoom</attribute>
+          <attribute name='target' type='i'>0</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>Zoom 200%</attribute>
+          <attribute name='action'>printlayout.zoom</attribute>
+          <attribute name='target' type='i'>200</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>Zoom 100%</attribute>
+          <attribute name='action'>printlayout.zoom</attribute>
+          <attribute name='target' type='i'>100</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>Zoom 50%</attribute>
+          <attribute name='action'>printlayout.zoom</attribute>
+          <attribute name='target' type='i'>50</attribute>
+        </item>
+        <item>
+          <attribute name='label' translatable='yes'>Zoom 25%</attribute>
+          <attribute name='action'>printlayout.zoom</attribute>
+          <attribute name='target' type='i'>25</attribute>
+        </item>
+      </section>
+    </submenu>
+  </menu>
+
   <object class="GtkWindow" id="window_print_layout_edit">
     <property name="can_focus">False</property>
     <property name="title" translatable="yes">Print Layout Editor</property>


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