[glom] Print Layout window: Fix expansion and restore the <menu>s.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Print Layout window: Fix expansion and restore the <menu>s.
- Date: Fri, 25 Oct 2013 17:21:04 +0000 (UTC)
commit f3bab382ac1be96cefb82985d205158b531c6c3a
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Oct 25 19:18:16 2013 +0200
Print Layout window: Fix expansion and restore the <menu>s.
data/ui/developer/window_print_layout_edit.glade | 188 +++++++++++++++++++++-
1 files changed, 185 insertions(+), 3 deletions(-)
---
diff --git a/data/ui/developer/window_print_layout_edit.glade
b/data/ui/developer/window_print_layout_edit.glade
index 930a251..faaff9b 100644
--- a/data/ui/developer/window_print_layout_edit.glade
+++ b/data/ui/developer/window_print_layout_edit.glade
@@ -1,13 +1,183 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.16.0 on Fri Oct 25 10:50:01 2013 -->
+<!-- Generated with glade 3.15.4 on Fri Oct 25 19:14:44 2013 -->
<interface>
+
+ <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.select-all</attribute>
+ </item>
+ <item>
+ <attribute name='label' translatable='yes'>_Unselect All</attribute>
+ <attribute name='action'>printlayout.unselect-all</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>
+
+ <menu id='ContextMenu'>
+ <section>
+ <item>
+ <attribute name='label' translatable='yes'>Insert _Field</attribute>
+ <attribute name='action'>context.insert-field</attribute>
+ </item>
+ <item>
+ <attribute name='label' translatable='yes'>Insert _Text</attribute>
+ <attribute name='action'>context.insert-text</attribute>
+ </item>
+ </section>
+ </menu>
+
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkApplicationWindow" id="window_print_layout_edit">
<property name="can_focus">False</property>
- <property name="border_width">12</property>
<property name="title" translatable="yes">Print Layout Editor</property>
<child>
- <object class="GtkBox" id="vbox2">
+ <object class="GtkBox" id="vbox_main">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
@@ -15,6 +185,8 @@
<object class="GtkBox" id="vbox_menu">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">False</property>
<property name="orientation">vertical</property>
<child>
<placeholder/>
@@ -31,11 +203,15 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK |
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="border_width">6</property>
<property name="spacing">6</property>
<child>
<object class="GtkBox" id="vbox_inner">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="border_width">6</property>
<property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
@@ -116,6 +292,8 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK |
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
<child>
<object class="GtkBox" id="vbox_canvas">
<property name="visible">True</property>
@@ -152,6 +330,7 @@
<object class="GtkBox" id="box_item_position">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="hexpand">True</property>
<property name="spacing">12</property>
<child>
<object class="GtkLabel" id="label_x">
@@ -260,6 +439,7 @@
<object class="GtkButtonBox" id="hbuttonbox43">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="border_width">6</property>
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button_close">
@@ -296,6 +476,8 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK |
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="vexpand">True</property>
+ <property name="border_width">6</property>
<property name="orientation">vertical</property>
<child>
<placeholder/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]