Blame 0001-Related-tdf-127782-resize-the-print-dialog-to-its-op.patch

42f49d0
From d613261e913f96cb088fa97c7f4a85b0e57e32c3 Mon Sep 17 00:00:00 2001
42f49d0
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
42f49d0
Date: Fri, 10 Jan 2020 17:27:04 +0000
42f49d0
Subject: [PATCH] Related: tdf#127782 resize the print dialog to its optimum
42f49d0
 size...
42f49d0
MIME-Version: 1.0
42f49d0
Content-Type: text/plain; charset=UTF-8
42f49d0
Content-Transfer-Encoding: 8bit
42f49d0
42f49d0
after expander is activated
42f49d0
42f49d0
Change-Id: I3f87243f0502829e048173987c8998898d351adf
42f49d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86575
42f49d0
Tested-by: Jenkins
42f49d0
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
42f49d0
(cherry picked from commit fa412876add97cab38d404723c49d35775f8efea)
42f49d0
42f49d0
Related: tdf#127782 use size groups to avoid changing widths on using expanders
42f49d0
42f49d0
Change-Id: I07335d466cf8f9fa1692372eeecbb484a2f4386d
42f49d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86923
42f49d0
Tested-by: Jenkins
42f49d0
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
42f49d0
(cherry picked from commit 0874fa237b3b6be3890915a744c5d34ba2bef8f7)
42f49d0
42f49d0
change label in print dialog from "OK" to "Print"
42f49d0
42f49d0
Change-Id: I1d6b04678ab039138908bc9555763bea057fa996
42f49d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88212
42f49d0
Tested-by: Jenkins
42f49d0
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
42f49d0
(cherry picked from commit aec3cce9e4aa12e6cfe229e11d6548f0c3a7cbb5)
42f49d0
42f49d0
tdf#130517 improve accelerators on Print dialog page
42f49d0
42f49d0
- add accelerator for Print
42f49d0
- change accelerators for other "p" items
42f49d0
    - All Pages to A
42f49d0
   -  Preview to v
42f49d0
 -  Order (not needed, because _r on checkbox is enough)
42f49d0
42f49d0
Change-Id: I7db4153829132dcbbb7c7356591f43df809583ca
42f49d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89127
42f49d0
Tested-by: Jenkins
42f49d0
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
42f49d0
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
42f49d0
(cherry picked from commit 5c3604542191b3c69da2d9d912c5c5a20c7143e9)
42f49d0
42f49d0
missing use_underlines
42f49d0
42f49d0
Change-Id: I2953069ee266c2a7850181826b299f0037a936ea
42f49d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90662
42f49d0
Tested-by: Jenkins
42f49d0
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
42f49d0
(cherry picked from commit 80b4419d94e74b79330945aa76f06b0e62fe0d88)
42f49d0
42f49d0
tdf#127782 - New Print dialog is too high
42f49d0
42f49d0
ScrollWindow behind the tab control
42f49d0
42f49d0
Change-Id: I5560f4368f94a45eeb1e3af3bf18df0f305ab3da
42f49d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92758
42f49d0
Tested-by: Jenkins
42f49d0
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
42f49d0
(cherry picked from commit 26ada4335a5804735ae37cf9a89f8145e0931fd7)
42f49d0
---
42f49d0
 sw/inc/strings.hrc             |    2 +-
42f49d0
 vcl/inc/printdlg.hxx           |    4 +
42f49d0
 vcl/source/window/printdlg.cxx |    9 +
42f49d0
 vcl/uiconfig/ui/printdialog.ui | 1721 ++++++++++++++++----------------
42f49d0
 4 files changed, 887 insertions(+), 849 deletions(-)
42f49d0
42f49d0
diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc
42f49d0
index 8c771426ef00..074681b65fae 100644
42f49d0
--- a/sw/inc/strings.hrc
42f49d0
+++ b/sw/inc/strings.hrc
42f49d0
@@ -621,7 +621,7 @@
42f49d0
 #define STR_PRINTOPTUI_BROCHURE                 NC_("STR_PRINTOPTUI_BROCHURE", "Broch~ure")
42f49d0
 #define STR_PRINTOPTUI_LEFT_SCRIPT              NC_("STR_PRINTOPTUI_LEFT_SCRIPT", "Left-to-right script")
42f49d0
 #define STR_PRINTOPTUI_RIGHT_SCRIPT             NC_("STR_PRINTOPTUI_RIGHT_SCRIPT", "Right-to-left script")
42f49d0
-#define STR_PRINTOPTUI_PRINTALLPAGES            NC_("STR_PRINTOPTUI_PRINTALLPAGES", "All ~Pages")
42f49d0
+#define STR_PRINTOPTUI_PRINTALLPAGES            NC_("STR_PRINTOPTUI_PRINTALLPAGES", "~All Pages")
42f49d0
 #define STR_PRINTOPTUI_PRINTPAGES               NC_("STR_PRINTOPTUI_PRINTPAGES", "Pa~ges:")
42f49d0
 #define STR_PRINTOPTUI_PRINTEVENPAGES           NC_("STR_PRINTOPTUI_PRINTEVENPAGES", "~Even pages")
42f49d0
 #define STR_PRINTOPTUI_PRINTODDPAGES            NC_("STR_PRINTOPTUI_PRINTODDPAGES", "~Odd pages")
42f49d0
diff --git a/vcl/inc/printdlg.hxx b/vcl/inc/printdlg.hxx
42f49d0
index 5e8289d6b4d1..9db2e07ca698 100644
42f49d0
--- a/vcl/inc/printdlg.hxx
42f49d0
+++ b/vcl/inc/printdlg.hxx
42f49d0
@@ -186,6 +186,8 @@ namespace vcl
42f49d0
         std::unique_ptr<weld::CustomWeld>       mxNupOrderWin;
42f49d0
         /// border around each page
42f49d0
         std::unique_ptr<weld::CheckButton>      mxBorderCB;
42f49d0
+        std::unique_ptr<weld::Expander>         mxRangeExpander;
42f49d0
+        std::unique_ptr<weld::Expander>         mxLayoutExpander;
42f49d0
         std::unique_ptr<weld::Widget>           mxCustom;
42f49d0
 
42f49d0
         OUString const                          maPrintToFileText;
42f49d0
@@ -234,6 +236,8 @@ namespace vcl
42f49d0
         DECL_LINK( UIOption_SpinModifyHdl, weld::SpinButton&, void );
42f49d0
         DECL_LINK( UIOption_EntryModifyHdl, weld::Entry&, void );
42f49d0
 
42f49d0
+        DECL_LINK( ExpandHdl, weld::Expander&, void );
42f49d0
+
42f49d0
         css::beans::PropertyValue* getValueForWindow(weld::Widget*) const;
42f49d0
 
42f49d0
         void preparePreview( bool i_bMayUseCache );
42f49d0
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
42f49d0
index 7d340559806a..ceb25a7e8609 100644
42f49d0
--- a/vcl/source/window/printdlg.cxx
42f49d0
+++ b/vcl/source/window/printdlg.cxx
42f49d0
@@ -566,6 +566,8 @@ PrintDialog::PrintDialog(weld::Window* i_pWindow, const std::shared_ptr
42f49d0
     , mxNupOrder(new ShowNupOrderWindow)
42f49d0
     , mxNupOrderWin(new weld::CustomWeld(*m_xBuilder, "orderpreview", *mxNupOrder))
42f49d0
     , mxBorderCB(m_xBuilder->weld_check_button("bordercb"))
42f49d0
+    , mxRangeExpander(m_xBuilder->weld_expander("exRangeExpander"))
42f49d0
+    , mxLayoutExpander(m_xBuilder->weld_expander("exLayoutExpander"))
42f49d0
     , mxCustom(m_xBuilder->weld_widget("customcontents"))
42f49d0
     , maPrintToFileText( VclResId( SV_PRINT_TOFILE_TXT ) )
42f49d0
     , maDefPrtText( VclResId( SV_PRINT_DEFPRT_TXT ) )
42f49d0
@@ -695,9 +697,16 @@ PrintDialog::PrintDialog(weld::Window* i_pWindow, const std::shared_ptr
42f49d0
     mxPageMarginEdt->connect_value_changed( LINK( this, PrintDialog, MetricSpinModifyHdl ) );
42f49d0
     mxSheetMarginEdt->connect_value_changed( LINK( this, PrintDialog, MetricSpinModifyHdl ) );
42f49d0
 
42f49d0
+    mxRangeExpander->connect_expanded(LINK( this, PrintDialog, ExpandHdl));
42f49d0
+    mxLayoutExpander->connect_expanded(LINK( this, PrintDialog, ExpandHdl));
42f49d0
+
42f49d0
     updateNupFromPages();
42f49d0
 }
42f49d0
 
42f49d0
+IMPL_LINK_NOARG(PrintDialog, ExpandHdl, weld::Expander&, void)
42f49d0
+{
42f49d0
+    m_xDialog->resize_to_request();
42f49d0
+}
42f49d0
 
42f49d0
 PrintDialog::~PrintDialog()
42f49d0
 {
42f49d0
diff --git a/vcl/uiconfig/ui/printdialog.ui b/vcl/uiconfig/ui/printdialog.ui
42f49d0
index fc98a18a89a9..d0ebb7abe103 100644
42f49d0
--- a/vcl/uiconfig/ui/printdialog.ui
42f49d0
+++ b/vcl/uiconfig/ui/printdialog.ui
42f49d0
@@ -1,5 +1,5 @@
42f49d0
 
42f49d0
-
42f49d0
+
42f49d0
 <interface domain="vcl">
42f49d0
   <requires lib="gtk+" version="3.18"/>
42f49d0
   <object class="GtkAdjustment" id="adjustment1">
42f49d0
@@ -66,7 +66,7 @@
42f49d0
     <property name="default_width">0</property>
42f49d0
     <property name="default_height">0</property>
42f49d0
     <property name="type_hint">dialog</property>
42f49d0
-    <child>
42f49d0
+    <child type="titlebar">
42f49d0
       <placeholder/>
42f49d0
     </child>
42f49d0
     <child internal-child="vbox">
42f49d0
@@ -100,6 +100,7 @@
42f49d0
                 <property name="can_focus">True</property>
42f49d0
                 <property name="receives_default">True</property>
42f49d0
                 <property name="margin_right">10</property>
42f49d0
+                <property name="use_underline">True</property>
42f49d0
               </object>
42f49d0
               <packing>
42f49d0
                 <property name="expand">False</property>
42f49d0
@@ -109,13 +110,13 @@
42f49d0
             </child>
42f49d0
             <child>
42f49d0
               <object class="GtkButton" id="ok">
42f49d0
-                <property name="label">gtk-ok</property>
42f49d0
+                <property name="label" translatable="yes" context="printdialog|print">_Print</property>
42f49d0
                 <property name="visible">True</property>
42f49d0
                 <property name="can_focus">True</property>
42f49d0
                 <property name="can_default">True</property>
42f49d0
                 <property name="has_default">True</property>
42f49d0
                 <property name="receives_default">True</property>
42f49d0
-                <property name="use_stock">True</property>
42f49d0
+                <property name="use_underline">True</property>
42f49d0
               </object>
42f49d0
               <packing>
42f49d0
                 <property name="expand">False</property>
42f49d0
@@ -145,38 +146,30 @@
42f49d0
           </packing>
42f49d0
         </child>
42f49d0
         <child>
42f49d0
-          <object class="GtkBox" id="box0">
42f49d0
+          <object class="GtkBox">
42f49d0
             <property name="visible">True</property>
42f49d0
             <property name="can_focus">False</property>
42f49d0
-            <property name="spacing">6</property>
42f49d0
+            <property name="hexpand">True</property>
42f49d0
+            <property name="vexpand">True</property>
42f49d0
             <child>
42f49d0
-              <object class="GtkBox" id="box1">
42f49d0
+              <object class="GtkBox" id="box2">
42f49d0
                 <property name="visible">True</property>
42f49d0
                 <property name="can_focus">False</property>
42f49d0
+                <property name="margin_right">6</property>
42f49d0
+                <property name="orientation">vertical</property>
42f49d0
+                <property name="spacing">12</property>
42f49d0
                 <child>
42f49d0
-                  <object class="GtkBox" id="box2">
42f49d0
+                  <object class="GtkBox" id="box13">
42f49d0
                     <property name="visible">True</property>
42f49d0
-                    <property name="can_focus">True</property>
42f49d0
+                    <property name="can_focus">False</property>
42f49d0
                     <property name="orientation">vertical</property>
42f49d0
-                    <property name="spacing">6</property>
42f49d0
                     <child>
42f49d0
-                      <object class="GtkBox" id="box13">
42f49d0
+                      <object class="GtkDrawingArea" id="preview">
42f49d0
                         <property name="visible">True</property>
42f49d0
                         <property name="can_focus">False</property>
42f49d0
-                        <property name="orientation">vertical</property>
42f49d0
-                        <child>
42f49d0
-                          <object class="GtkDrawingArea" id="preview">
42f49d0
-                            <property name="visible">True</property>
42f49d0
-                            <property name="can_focus">False</property>
42f49d0
-                            <property name="events">GDK_STRUCTURE_MASK | GDK_SCROLL_MASK</property>
42f49d0
-                            <property name="tooltip_text" translatable="yes" context="printdialog|printpreview">Print preview</property>
42f49d0
-                          </object>
42f49d0
-                          <packing>
42f49d0
-                            <property name="expand">True</property>
42f49d0
-                            <property name="fill">True</property>
42f49d0
-                            <property name="position">0</property>
42f49d0
-                          </packing>
42f49d0
-                        </child>
42f49d0
+                        <property name="events">GDK_STRUCTURE_MASK | GDK_SCROLL_MASK</property>
42f49d0
+                        <property name="tooltip_text" translatable="yes" context="printdialog|printpreview">Print preview</property>
42f49d0
+                        <property name="margin_right">6</property>
42f49d0
                       </object>
42f49d0
                       <packing>
42f49d0
                         <property name="expand">True</property>
42f49d0
@@ -184,103 +177,29 @@
42f49d0
                         <property name="position">0</property>
42f49d0
                       </packing>
42f49d0
                     </child>
42f49d0
+                  </object>
42f49d0
+                  <packing>
42f49d0
+                    <property name="expand">True</property>
42f49d0
+                    <property name="fill">True</property>
42f49d0
+                    <property name="position">0</property>
42f49d0
+                  </packing>
42f49d0
+                </child>
42f49d0
+                <child>
42f49d0
+                  <object class="GtkBox" id="box3">
42f49d0
+                    <property name="visible">True</property>
42f49d0
+                    <property name="can_focus">False</property>
42f49d0
                     <child>
42f49d0
-                      <object class="GtkBox" id="box3">
42f49d0
+                      <object class="GtkBox" id="box14">
42f49d0
                         <property name="visible">True</property>
42f49d0
                         <property name="can_focus">False</property>
42f49d0
+                        <property name="spacing">6</property>
42f49d0
                         <child>
42f49d0
-                          <object class="GtkBox" id="box14">
42f49d0
+                          <object class="GtkButton" id="btnLast">
42f49d0
                             <property name="visible">True</property>
42f49d0
-                            <property name="can_focus">False</property>
42f49d0
-                            <property name="margin_right">10</property>
42f49d0
-                            <property name="spacing">6</property>
42f49d0
-                            <child>
42f49d0
-                              <object class="GtkButton" id="btnLast">
42f49d0
-                                <property name="visible">True</property>
42f49d0
-                                <property name="can_focus">True</property>
42f49d0
-                                <property name="receives_default">True</property>
42f49d0
-                                <property name="tooltip_text" translatable="yes" context="printdialog|lastpage">Last page</property>
42f49d0
-                                <property name="image">imgLast</property>
42f49d0
-                              </object>
42f49d0
-                              <packing>
42f49d0
-                                <property name="expand">False</property>
42f49d0
-                                <property name="fill">True</property>
42f49d0
-                                <property name="pack_type">end</property>
42f49d0
-                                <property name="position">0</property>
42f49d0
-                              </packing>
42f49d0
-                            </child>
42f49d0
-                            <child>
42f49d0
-                              <object class="GtkButton" id="forward">
42f49d0
-                                <property name="visible">True</property>
42f49d0
-                                <property name="can_focus">True</property>
42f49d0
-                                <property name="receives_default">True</property>
42f49d0
-                                <property name="tooltip_text" translatable="yes" context="printdialog|forward">Next page</property>
42f49d0
-                                <property name="image">imgForward</property>
42f49d0
-                              </object>
42f49d0
-                              <packing>
42f49d0
-                                <property name="expand">False</property>
42f49d0
-                                <property name="fill">False</property>
42f49d0
-                                <property name="pack_type">end</property>
42f49d0
-                                <property name="position">1</property>
42f49d0
-                              </packing>
42f49d0
-                            </child>
42f49d0
-                            <child>
42f49d0
-                              <object class="GtkLabel" id="totalnumpages">
42f49d0
-                                <property name="visible">True</property>
42f49d0
-                                <property name="can_focus">False</property>
42f49d0
-                                <property name="label" translatable="yes" context="printdialog|totalnumpages">/ %n</property>
42f49d0
-                              </object>
42f49d0
-                              <packing>
42f49d0
-                                <property name="expand">False</property>
42f49d0
-                                <property name="fill">True</property>
42f49d0
-                                <property name="pack_type">end</property>
42f49d0
-                                <property name="position">2</property>
42f49d0
-                              </packing>
42f49d0
-                            </child>
42f49d0
-                            <child>
42f49d0
-                              <object class="GtkEntry" id="pageedit-nospin">
42f49d0
-                                <property name="visible">True</property>
42f49d0
-                                <property name="can_focus">True</property>
42f49d0
-                                <property name="width_chars">3</property>
42f49d0
-                                <property name="text" translatable="no">1</property>
42f49d0
-                              </object>
42f49d0
-                              <packing>
42f49d0
-                                <property name="expand">False</property>
42f49d0
-                                <property name="fill">True</property>
42f49d0
-                                <property name="pack_type">end</property>
42f49d0
-                                <property name="position">3</property>
42f49d0
-                              </packing>
42f49d0
-                            </child>
42f49d0
-                            <child>
42f49d0
-                              <object class="GtkButton" id="backward">
42f49d0
-                                <property name="visible">True</property>
42f49d0
-                                <property name="can_focus">True</property>
42f49d0
-                                <property name="receives_default">True</property>
42f49d0
-                                <property name="tooltip_text" translatable="yes" context="printdialog|backward">Previous page</property>
42f49d0
-                                <property name="image">imgBack</property>
42f49d0
-                              </object>
42f49d0
-                              <packing>
42f49d0
-                                <property name="expand">False</property>
42f49d0
-                                <property name="fill">False</property>
42f49d0
-                                <property name="pack_type">end</property>
42f49d0
-                                <property name="position">4</property>
42f49d0
-                              </packing>
42f49d0
-                            </child>
42f49d0
-                            <child>
42f49d0
-                              <object class="GtkButton" id="btnFirst">
42f49d0
-                                <property name="visible">True</property>
42f49d0
-                                <property name="can_focus">True</property>
42f49d0
-                                <property name="receives_default">True</property>
42f49d0
-                                <property name="tooltip_text" translatable="yes" context="printdialog|firstpage">First page</property>
42f49d0
-                                <property name="image">imgFirst</property>
42f49d0
-                              </object>
42f49d0
-                              <packing>
42f49d0
-                                <property name="expand">False</property>
42f49d0
-                                <property name="fill">False</property>
42f49d0
-                                <property name="pack_type">end</property>
42f49d0
-                                <property name="position">5</property>
42f49d0
-                              </packing>
42f49d0
-                            </child>
42f49d0
+                            <property name="can_focus">True</property>
42f49d0
+                            <property name="receives_default">True</property>
42f49d0
+                            <property name="tooltip_text" translatable="yes" context="printdialog|lastpage">Last page</property>
42f49d0
+                            <property name="image">imgLast</property>
42f49d0
                           </object>
42f49d0
                           <packing>
42f49d0
                             <property name="expand">False</property>
42f49d0
@@ -290,49 +209,121 @@
42f49d0
                           </packing>
42f49d0
                         </child>
42f49d0
                         <child>
42f49d0
-                          <object class="GtkBox" id="box10">
42f49d0
+                          <object class="GtkButton" id="forward">
42f49d0
+                            <property name="visible">True</property>
42f49d0
+                            <property name="can_focus">True</property>
42f49d0
+                            <property name="receives_default">True</property>
42f49d0
+                            <property name="tooltip_text" translatable="yes" context="printdialog|forward">Next page</property>
42f49d0
+                            <property name="image">imgForward</property>
42f49d0
+                          </object>
42f49d0
+                          <packing>
42f49d0
+                            <property name="expand">False</property>
42f49d0
+                            <property name="fill">False</property>
42f49d0
+                            <property name="pack_type">end</property>
42f49d0
+                            <property name="position">1</property>
42f49d0
+                          </packing>
42f49d0
+                        </child>
42f49d0
+                        <child>
42f49d0
+                          <object class="GtkLabel" id="totalnumpages">
42f49d0
                             <property name="visible">True</property>
42f49d0
                             <property name="can_focus">False</property>
42f49d0
-                            <property name="margin_left">10</property>
42f49d0
-                            <property name="spacing">3</property>
42f49d0
-                            <child>
42f49d0
-                              <object class="GtkCheckButton" id="previewbox">
42f49d0
-                                <property name="label" translatable="yes" context="printdialog|previewbox">Preview</property>
42f49d0
-                                <property name="visible">True</property>
42f49d0
-                                <property name="can_focus">True</property>
42f49d0
-                                <property name="receives_default">False</property>
42f49d0
-                                <property name="halign">center</property>
42f49d0
-                                <property name="use_underline">True</property>
42f49d0
-                                <property name="active">True</property>
42f49d0
-                                <property name="draw_indicator">True</property>
42f49d0
-                              </object>
42f49d0
-                              <packing>
42f49d0
-                                <property name="expand">False</property>
42f49d0
-                                <property name="fill">True</property>
42f49d0
-                                <property name="pack_type">end</property>
42f49d0
-                                <property name="position">0</property>
42f49d0
-                              </packing>
42f49d0
-                            </child>
42f49d0
+                            <property name="label" translatable="yes" context="printdialog|totalnumpages">/ %n</property>
42f49d0
+                          </object>
42f49d0
+                          <packing>
42f49d0
+                            <property name="expand">False</property>
42f49d0
+                            <property name="fill">True</property>
42f49d0
+                            <property name="pack_type">end</property>
42f49d0
+                            <property name="position">2</property>
42f49d0
+                          </packing>
42f49d0
+                        </child>
42f49d0
+                        <child>
42f49d0
+                          <object class="GtkEntry" id="pageedit-nospin">
42f49d0
+                            <property name="visible">True</property>
42f49d0
+                            <property name="can_focus">True</property>
42f49d0
+                            <property name="width_chars">3</property>
42f49d0
+                            <property name="text">1</property>
42f49d0
                           </object>
42f49d0
                           <packing>
42f49d0
                             <property name="expand">False</property>
42f49d0
                             <property name="fill">True</property>
42f49d0
+                            <property name="pack_type">end</property>
42f49d0
+                            <property name="position">3</property>
42f49d0
+                          </packing>
42f49d0
+                        </child>
42f49d0
+                        <child>
42f49d0
+                          <object class="GtkButton" id="backward">
42f49d0
+                            <property name="visible">True</property>
42f49d0
+                            <property name="can_focus">True</property>
42f49d0
+                            <property name="receives_default">True</property>
42f49d0
+                            <property name="tooltip_text" translatable="yes" context="printdialog|backward">Previous page</property>
42f49d0
+                            <property name="image">imgBack</property>
42f49d0
+                          </object>
42f49d0
+                          <packing>
42f49d0
+                            <property name="expand">False</property>
42f49d0
+                            <property name="fill">False</property>
42f49d0
+                            <property name="pack_type">end</property>
42f49d0
                             <property name="position">4</property>
42f49d0
                           </packing>
42f49d0
                         </child>
42f49d0
+                        <child>
42f49d0
+                          <object class="GtkButton" id="btnFirst">
42f49d0
+                            <property name="visible">True</property>
42f49d0
+                            <property name="can_focus">True</property>
42f49d0
+                            <property name="receives_default">True</property>
42f49d0
+                            <property name="tooltip_text" translatable="yes" context="printdialog|firstpage">First page</property>
42f49d0
+                            <property name="image">imgFirst</property>
42f49d0
+                          </object>
42f49d0
+                          <packing>
42f49d0
+                            <property name="expand">False</property>
42f49d0
+                            <property name="fill">False</property>
42f49d0
+                            <property name="pack_type">end</property>
42f49d0
+                            <property name="position">5</property>
42f49d0
+                          </packing>
42f49d0
+                        </child>
42f49d0
                       </object>
42f49d0
                       <packing>
42f49d0
                         <property name="expand">False</property>
42f49d0
                         <property name="fill">True</property>
42f49d0
                         <property name="pack_type">end</property>
42f49d0
-                        <property name="position">1</property>
42f49d0
+                        <property name="position">0</property>
42f49d0
+                      </packing>
42f49d0
+                    </child>
42f49d0
+                    <child>
42f49d0
+                      <object class="GtkBox" id="box10">
42f49d0
+                        <property name="visible">True</property>
42f49d0
+                        <property name="can_focus">False</property>
42f49d0
+                        <property name="spacing">3</property>
42f49d0
+                        <child>
42f49d0
+                          <object class="GtkCheckButton" id="previewbox">
42f49d0
+                            <property name="label" translatable="yes" context="printdialog|previewbox">Pre_view</property>
42f49d0
+                            <property name="visible">True</property>
42f49d0
+                            <property name="can_focus">True</property>
42f49d0
+                            <property name="receives_default">False</property>
42f49d0
+                            <property name="halign">center</property>
42f49d0
+                            <property name="use_underline">True</property>
42f49d0
+                            <property name="active">True</property>
42f49d0
+                            <property name="draw_indicator">True</property>
42f49d0
+                          </object>
42f49d0
+                          <packing>
42f49d0
+                            <property name="expand">False</property>
42f49d0
+                            <property name="fill">True</property>
42f49d0
+                            <property name="pack_type">end</property>
42f49d0
+                            <property name="position">0</property>
42f49d0
+                          </packing>
42f49d0
+                        </child>
42f49d0
+                      </object>
42f49d0
+                      <packing>
42f49d0
+                        <property name="expand">False</property>
42f49d0
+                        <property name="fill">True</property>
42f49d0
+                        <property name="position">4</property>
42f49d0
                       </packing>
42f49d0
                     </child>
42f49d0
                   </object>
42f49d0
                   <packing>
42f49d0
-                    <property name="expand">True</property>
42f49d0
+                    <property name="expand">False</property>
42f49d0
                     <property name="fill">True</property>
42f49d0
-                    <property name="position">0</property>
42f49d0
+                    <property name="pack_type">end</property>
42f49d0
+                    <property name="position">1</property>
42f49d0
                   </packing>
42f49d0
                 </child>
42f49d0
               </object>
42f49d0
@@ -343,65 +334,52 @@
42f49d0
               </packing>
42f49d0
             </child>
42f49d0
             <child>
42f49d0
-              <object class="GtkBox" id="box4">
42f49d0
+              <object class="GtkNotebook" id="tabcontrol">
42f49d0
                 <property name="visible">True</property>
42f49d0
-                <property name="can_focus">False</property>
42f49d0
-                <property name="orientation">vertical</property>
42f49d0
+                <property name="can_focus">True</property>
42f49d0
+                <property name="margin_left">6</property>
42f49d0
+                <property name="hexpand">True</property>
42f49d0
+                <property name="vexpand">True</property>
42f49d0
                 <child>
42f49d0
-                  <object class="GtkNotebook" id="tabcontrol">
42f49d0
+                  <object class="GtkScrolledWindow">
42f49d0
                     <property name="visible">True</property>
42f49d0
                     <property name="can_focus">True</property>
42f49d0
-                    <property name="scrollable">True</property>
42f49d0
-                    <property name="enable_popup">True</property>
42f49d0
+                    <property name="shadow_type">in</property>
42f49d0
+                    <property name="min_content_width">500</property>
42f49d0
+                    <property name="max_content_height">450</property>
42f49d0
                     <child>
42f49d0
-                      <object class="GtkBox" id="box11">
42f49d0
+                      <object class="GtkViewport">
42f49d0
                         <property name="visible">True</property>
42f49d0
                         <property name="can_focus">False</property>
42f49d0
-                        <property name="border_width">6</property>
42f49d0
-                        <property name="orientation">vertical</property>
42f49d0
-                        <property name="spacing">12</property>
42f49d0
                         <child>
42f49d0
-                          <object class="GtkFrame" id="frPrinterName">
42f49d0
+                          <object class="GtkBox" id="box11">
42f49d0
                             <property name="visible">True</property>
42f49d0
                             <property name="can_focus">False</property>
42f49d0
-                            <property name="label_xalign">0</property>
42f49d0
-                            <property name="shadow_type">none</property>
42f49d0
+                            <property name="border_width">6</property>
42f49d0
+                            <property name="orientation">vertical</property>
42f49d0
+                            <property name="spacing">12</property>
42f49d0
                             <child>
42f49d0
-                              <object class="GtkAlignment" id="alignment">
42f49d0
+                              <object class="GtkFrame" id="frPrinterName">
42f49d0
                                 <property name="visible">True</property>
42f49d0
                                 <property name="can_focus">False</property>
42f49d0
-                                <property name="top_padding">6</property>
42f49d0
-                                <property name="left_padding">12</property>
42f49d0
+                                <property name="label_xalign">0</property>
42f49d0
+                                <property name="shadow_type">none</property>
42f49d0
                                 <child>
42f49d0
-                                  <object class="GtkBox" id="box5">
42f49d0
+                                  <object class="GtkAlignment" id="alignment">
42f49d0
                                     <property name="visible">True</property>
42f49d0
                                     <property name="can_focus">False</property>
42f49d0
-                                    <property name="orientation">vertical</property>
42f49d0
-                                    <property name="spacing">6</property>
42f49d0
-                                    <child>
42f49d0
-                                      <object class="GtkComboBoxText" id="printersbox">
42f49d0
-                                        <property name="visible">True</property>
42f49d0
-                                        <property name="can_focus">False</property>
42f49d0
-                                      </object>
42f49d0
-                                      <packing>
42f49d0
-                                        <property name="expand">False</property>
42f49d0
-                                        <property name="fill">True</property>
42f49d0
-                                        <property name="position">0</property>
42f49d0
-                                      </packing>
42f49d0
-                                    </child>
42f49d0
+                                    <property name="top_padding">6</property>
42f49d0
+                                    <property name="left_padding">12</property>
42f49d0
                                     <child>
42f49d0
-                                      <object class="GtkBox" id="box6">
42f49d0
+                                      <object class="GtkBox" id="box5">
42f49d0
                                         <property name="visible">True</property>
42f49d0
                                         <property name="can_focus">False</property>
42f49d0
+                                        <property name="orientation">vertical</property>
42f49d0
                                         <property name="spacing">6</property>
42f49d0
                                         <child>
42f49d0
-                                          <object class="GtkLabel" id="labelstatus">
42f49d0
+                                          <object class="GtkComboBoxText" id="printersbox">
42f49d0
                                             <property name="visible">True</property>
42f49d0
                                             <property name="can_focus">False</property>
42f49d0
-                                            <property name="label" translatable="yes" context="printdialog|labelstatus">Status:</property>
42f49d0
-                                            <accessibility>
42f49d0
-                                              <relation type="label-for" target="status"/>
42f49d0
-                                            </accessibility>
42f49d0
                                           </object>
42f49d0
                                           <packing>
42f49d0
                                             <property name="expand">False</property>
42f49d0
@@ -410,13 +388,55 @@
42f49d0
                                           </packing>
42f49d0
                                         </child>
42f49d0
                                         <child>
42f49d0
-                                          <object class="GtkLabel" id="status">
42f49d0
+                                          <object class="GtkBox" id="box6">
42f49d0
                                             <property name="visible">True</property>
42f49d0
                                             <property name="can_focus">False</property>
42f49d0
-                                            <property name="label" translatable="yes" context="printdialog|status">Default Printer</property>
42f49d0
-                                            <accessibility>
42f49d0
-                                              <relation type="labelled-by" target="labelstatus"/>
42f49d0
-                                            </accessibility>
42f49d0
+                                            <property name="spacing">6</property>
42f49d0
+                                            <child>
42f49d0
+                                              <object class="GtkLabel" id="labelstatus">
42f49d0
+                                                <property name="visible">True</property>
42f49d0
+                                                <property name="can_focus">False</property>
42f49d0
+                                                <property name="label" translatable="yes" context="printdialog|labelstatus">Status:</property>
42f49d0
+                                                <accessibility>
42f49d0
+                                                  <relation type="label-for" target="status"/>
42f49d0
+                                                </accessibility>
42f49d0
+                                              </object>
42f49d0
+                                              <packing>
42f49d0
+                                                <property name="expand">False</property>
42f49d0
+                                                <property name="fill">True</property>
42f49d0
+                                                <property name="position">0</property>
42f49d0
+                                              </packing>
42f49d0
+                                            </child>
42f49d0
+                                            <child>
42f49d0
+                                              <object class="GtkLabel" id="status">
42f49d0
+                                                <property name="visible">True</property>
42f49d0
+                                                <property name="can_focus">False</property>
42f49d0
+                                                <property name="label" translatable="yes" context="printdialog|status">Default Printer</property>
42f49d0
+                                                <accessibility>
42f49d0
+                                                  <relation type="labelled-by" target="labelstatus"/>
42f49d0
+                                                </accessibility>
42f49d0
+                                              </object>
42f49d0
+                                              <packing>
42f49d0
+                                                <property name="expand">False</property>
42f49d0
+                                                <property name="fill">True</property>
42f49d0
+                                                <property name="position">1</property>
42f49d0
+                                              </packing>
42f49d0
+                                            </child>
42f49d0
+                                            <child>
42f49d0
+                                              <object class="GtkButton" id="setup">
42f49d0
+                                                <property name="label" translatable="yes" context="printdialog|setup">Properties...</property>
42f49d0
+                                                <property name="visible">True</property>
42f49d0
+                                                <property name="can_focus">True</property>
42f49d0
+                                                <property name="receives_default">True</property>
42f49d0
+                                                <property name="halign">end</property>
42f49d0
+                                              </object>
42f49d0
+                                              <packing>
42f49d0
+                                                <property name="expand">False</property>
42f49d0
+                                                <property name="fill">True</property>
42f49d0
+                                                <property name="pack_type">end</property>
42f49d0
+                                                <property name="position">2</property>
42f49d0
+                                              </packing>
42f49d0
+                                            </child>
42f49d0
                                           </object>
42f49d0
                                           <packing>
42f49d0
                                             <property name="expand">False</property>
42f49d0
@@ -424,217 +444,82 @@
42f49d0
                                             <property name="position">1</property>
42f49d0
                                           </packing>
42f49d0
                                         </child>
42f49d0
-                                        <child>
42f49d0
-                                          <object class="GtkButton" id="setup">
42f49d0
-                                            <property name="label" translatable="yes" context="printdialog|setup">Properties...</property>
42f49d0
-                                            <property name="visible">True</property>
42f49d0
-                                            <property name="can_focus">True</property>
42f49d0
-                                            <property name="receives_default">True</property>
42f49d0
-                                            <property name="halign">end</property>
42f49d0
-                                          </object>
42f49d0
-                                          <packing>
42f49d0
-                                            <property name="expand">False</property>
42f49d0
-                                            <property name="fill">True</property>
42f49d0
-                                            <property name="pack_type">end</property>
42f49d0
-                                            <property name="position">2</property>
42f49d0
-                                          </packing>
42f49d0
-                                        </child>
42f49d0
                                       </object>
42f49d0
-                                      <packing>
42f49d0
-                                        <property name="expand">False</property>
42f49d0
-                                        <property name="fill">True</property>
42f49d0
-                                        <property name="position">1</property>
42f49d0
-                                      </packing>
42f49d0
                                     </child>
42f49d0
                                   </object>
42f49d0
                                 </child>
42f49d0
+                                <child type="label">
42f49d0
+                                  <object class="GtkLabel" id="labelprinter">
42f49d0
+                                    <property name="visible">True</property>
42f49d0
+                                    <property name="can_focus">False</property>
42f49d0
+                                    <property name="label" translatable="yes" context="printdialog|labelprinter">Printer</property>
42f49d0
+                                    <property name="use_underline">True</property>
42f49d0
+                                    <property name="mnemonic_widget">printersbox</property>
42f49d0
+                                    <attributes>
42f49d0
+                                      <attribute name="weight" value="bold"/>
42f49d0
+                                    </attributes>
42f49d0
+                                  </object>
42f49d0
+                                </child>
42f49d0
                               </object>
42f49d0
+                              <packing>
42f49d0
+                                <property name="expand">False</property>
42f49d0
+                                <property name="fill">True</property>
42f49d0
+                                <property name="position">0</property>
42f49d0
+                              </packing>
42f49d0
                             </child>
42f49d0
-                            <child type="label">
42f49d0
-                              <object class="GtkLabel" id="labelprinter">
42f49d0
-                                <property name="visible">True</property>
42f49d0
-                                <property name="can_focus">False</property>
42f49d0
-                                <property name="label" translatable="yes" context="printdialog|labelprinter">Printer</property>
42f49d0
-                                <property name="use_underline">True</property>
42f49d0
-                                <property name="mnemonic_widget">printersbox</property>
42f49d0
-                                <attributes>
42f49d0
-                                  <attribute name="weight" value="bold"/>
42f49d0
-                                </attributes>
42f49d0
-                              </object>
42f49d0
-                            </child>
42f49d0
-                          </object>
42f49d0
-                          <packing>
42f49d0
-                            <property name="expand">False</property>
42f49d0
-                            <property name="fill">True</property>
42f49d0
-                            <property name="position">0</property>
42f49d0
-                          </packing>
42f49d0
-                        </child>
42f49d0
-                        <child>
42f49d0
-                          <object class="GtkFrame" id="frPrintRange">
42f49d0
-                            <property name="visible">True</property>
42f49d0
-                            <property name="can_focus">False</property>
42f49d0
-                            <property name="label_xalign">0</property>
42f49d0
-                            <property name="shadow_type">none</property>
42f49d0
                             <child>
42f49d0
-                              <object class="GtkAlignment" id="alPrintRange">
42f49d0
+                              <object class="GtkFrame" id="frPrintRange">
42f49d0
                                 <property name="visible">True</property>
42f49d0
                                 <property name="can_focus">False</property>
42f49d0
-                                <property name="top_padding">6</property>
42f49d0
-                                <property name="left_padding">12</property>
42f49d0
+                                <property name="label_xalign">0</property>
42f49d0
+                                <property name="shadow_type">none</property>
42f49d0
                                 <child>
42f49d0
-                                  <object class="GtkGrid" id="grid1">
42f49d0
+                                  <object class="GtkAlignment" id="alPrintRange">
42f49d0
                                     <property name="visible">True</property>
42f49d0
                                     <property name="can_focus">False</property>
42f49d0
-                                    <property name="row_spacing">2</property>
42f49d0
-                                    <property name="column_spacing">6</property>
42f49d0
-                                    <child>
42f49d0
-                                      <object class="GtkRadioButton" id="rbAllPages">
42f49d0
-                                        <property name="label" translatable="yes" context="printdialog|rbAllPages">_All pages</property>
42f49d0
-                                        <property name="visible">True</property>
42f49d0
-                                        <property name="can_focus">True</property>
42f49d0
-                                        <property name="receives_default">False</property>
42f49d0
-                                        <property name="halign">start</property>
42f49d0
-                                        <property name="margin_bottom">2</property>
42f49d0
-                                        <property name="use_underline">True</property>
42f49d0
-                                        <property name="active">True</property>
42f49d0
-                                        <property name="draw_indicator">True</property>
42f49d0
-                                      </object>
42f49d0
-                                      <packing>
42f49d0
-                                        <property name="left_attach">0</property>
42f49d0
-                                        <property name="top_attach">0</property>
42f49d0
-                                        <property name="width">2</property>
42f49d0
-                                      </packing>
42f49d0
-                                    </child>
42f49d0
-                                    <child>
42f49d0
-                                      <object class="GtkRadioButton" id="rbRangePages">
42f49d0
-                                        <property name="label" translatable="yes" context="printdialog|rbPageRange">_Pages:</property>
42f49d0
-                                        <property name="visible">True</property>
42f49d0
-                                        <property name="can_focus">True</property>
42f49d0
-                                        <property name="receives_default">False</property>
42f49d0
-                                        <property name="halign">start</property>
42f49d0
-                                        <property name="margin_top">2</property>
42f49d0
-                                        <property name="margin_bottom">2</property>
42f49d0
-                                        <property name="use_underline">True</property>
42f49d0
-                                        <property name="draw_indicator">True</property>
42f49d0
-                                        <property name="group">rbAllPages</property>
42f49d0
-                                      </object>
42f49d0
-                                      <packing>
42f49d0
-                                        <property name="left_attach">0</property>
42f49d0
-                                        <property name="top_attach">1</property>
42f49d0
-                                      </packing>
42f49d0
-                                    </child>
42f49d0
-                                    <child>
42f49d0
-                                      <object class="GtkEntry" id="pagerange">
42f49d0
-                                        <property name="visible">True</property>
42f49d0
-                                        <property name="can_focus">True</property>
42f49d0
-                                        <property name="hexpand">True</property>
42f49d0
-                                        <property name="activates_default">True</property>
42f49d0
-                                        <property name="placeholder_text" translatable="yes" context="printdialog|pagerange">e.g.: 1, 3-5, 7, 9</property>
42f49d0
-                                      </object>
42f49d0
-                                      <packing>
42f49d0
-                                        <property name="left_attach">1</property>
42f49d0
-                                        <property name="top_attach">1</property>
42f49d0
-                                      </packing>
42f49d0
-                                    </child>
42f49d0
-                                    <child>
42f49d0
-                                      <object class="GtkRadioButton" id="rbEvenPages">
42f49d0
-                                        <property name="label" translatable="yes" context="printdialog|rmEvenPages">_Even pages</property>
42f49d0
-                                        <property name="visible">True</property>
42f49d0
-                                        <property name="can_focus">True</property>
42f49d0
-                                        <property name="receives_default">False</property>
42f49d0
-                                        <property name="halign">start</property>
42f49d0
-                                        <property name="margin_top">2</property>
42f49d0
-                                        <property name="margin_bottom">2</property>
42f49d0
-                                        <property name="use_underline">True</property>
42f49d0
-                                        <property name="draw_indicator">True</property>
42f49d0
-                                        <property name="group">rbAllPages</property>
42f49d0
-                                      </object>
42f49d0
-                                      <packing>
42f49d0
-                                        <property name="left_attach">0</property>
42f49d0
-                                        <property name="top_attach">2</property>
42f49d0
-                                        <property name="width">2</property>
42f49d0
-                                      </packing>
42f49d0
-                                    </child>
42f49d0
-                                    <child>
42f49d0
-                                      <object class="GtkRadioButton" id="rbOddPages">
42f49d0
-                                        <property name="label" translatable="yes" context="printdialog|rbOddPages">_Odd pages</property>
42f49d0
-                                        <property name="visible">True</property>
42f49d0
-                                        <property name="can_focus">True</property>
42f49d0
-                                        <property name="receives_default">False</property>
42f49d0
-                                        <property name="halign">start</property>
42f49d0
-                                        <property name="margin_top">2</property>
42f49d0
-                                        <property name="margin_bottom">2</property>
42f49d0
-                                        <property name="use_underline">True</property>
42f49d0
-                                        <property name="draw_indicator">True</property>
42f49d0
-                                        <property name="group">rbAllPages</property>
42f49d0
-                                      </object>
42f49d0
-                                      <packing>
42f49d0
-                                        <property name="left_attach">0</property>
42f49d0
-                                        <property name="top_attach">3</property>
42f49d0
-                                        <property name="width">2</property>
42f49d0
-                                      </packing>
42f49d0
-                                    </child>
42f49d0
+                                    <property name="top_padding">6</property>
42f49d0
+                                    <property name="left_padding">12</property>
42f49d0
                                     <child>
42f49d0
-                                      <object class="GtkRadioButton" id="rbRangeSelection">
42f49d0
-                                        <property name="label" translatable="yes" context="printdialog|rbRangeSelection">_Selection</property>
42f49d0
-                                        <property name="can_focus">True</property>
42f49d0
-                                        <property name="receives_default">False</property>
42f49d0
-                                        <property name="halign">start</property>
42f49d0
-                                        <property name="margin_top">2</property>
42f49d0
-                                        <property name="use_underline">True</property>
42f49d0
-                                        <property name="draw_indicator">True</property>
42f49d0
-                                        <property name="group">rbAllPages</property>
42f49d0
-                                      </object>
42f49d0
-                                      <packing>
42f49d0
-                                        <property name="left_attach">0</property>
42f49d0
-                                        <property name="top_attach">4</property>
42f49d0
-                                        <property name="width">2</property>
42f49d0
-                                      </packing>
42f49d0
-                                    </child>
42f49d0
-                                    <child>
42f49d0
-                                      <object class="GtkExpander" id="exRangeExpander">
42f49d0
+                                      <object class="GtkGrid">
42f49d0
                                         <property name="visible">True</property>
42f49d0
-                                        <property name="can_focus">True</property>
42f49d0
-                                        <property name="hexpand">True</property>
42f49d0
-                                        <property name="resize_toplevel">True</property>
42f49d0
+                                        <property name="can_focus">False</property>
42f49d0
+                                        <property name="row_spacing">6</property>
42f49d0
                                         <child>
42f49d0
-                                          <object class="GtkGrid" id="gdCopiesExtra">
42f49d0
+                                          <object class="GtkGrid" id="rangegrid">
42f49d0
                                             <property name="visible">True</property>
42f49d0
                                             <property name="can_focus">False</property>
42f49d0
                                             <property name="row_spacing">2</property>
42f49d0
                                             <property name="column_spacing">6</property>
42f49d0
                                             <child>
42f49d0
-                                              <object class="GtkLabel" id="fromwhich">
42f49d0
-                                                <property name="can_focus">False</property>
42f49d0
+                                              <object class="GtkRadioButton" id="rbAllPages">
42f49d0
+                                                <property name="label" translatable="yes" context="printdialog|rbAllPages">_All pages</property>
42f49d0
+                                                <property name="visible">True</property>
42f49d0
+                                                <property name="can_focus">True</property>
42f49d0
+                                                <property name="receives_default">False</property>
42f49d0
                                                 <property name="halign">start</property>
42f49d0
-                                                <property name="label" translatable="yes" context="printdialog|fromwhich">_From which print:</property>
42f49d0
+                                                <property name="margin_bottom">2</property>
42f49d0
                                                 <property name="use_underline">True</property>
42f49d0
-                                                <property name="mnemonic_widget">printextrabox</property>
42f49d0
+                                                <property name="active">True</property>
42f49d0
+                                                <property name="draw_indicator">True</property>
42f49d0
                                               </object>
42f49d0
                                               <packing>
42f49d0
                                                 <property name="left_attach">0</property>
42f49d0
                                                 <property name="top_attach">0</property>
42f49d0
-                                              </packing>
42f49d0
-                                            </child>
42f49d0
-                                            <child>
42f49d0
-                                              <object class="GtkComboBoxText" id="printextrabox">
42f49d0
-                                                <property name="can_focus">False</property>
42f49d0
-                                                <property name="hexpand">True</property>
42f49d0
-                                              </object>
42f49d0
-                                              <packing>
42f49d0
-                                                <property name="left_attach">1</property>
42f49d0
-                                                <property name="top_attach">0</property>
42f49d0
                                                 <property name="width">2</property>
42f49d0
                                               </packing>
42f49d0
                                             </child>
42f49d0
                                             <child>
42f49d0
-                                              <object class="GtkLabel" id="labelpapersides">
42f49d0
+                                              <object class="GtkRadioButton" id="rbRangePages">
42f49d0
+                                                <property name="label" translatable="yes" context="printdialog|rbPageRange">_Pages:</property>
42f49d0
                                                 <property name="visible">True</property>
42f49d0
-                                                <property name="can_focus">False</property>
42f49d0
+                                                <property name="can_focus">True</property>
42f49d0
+                                                <property name="receives_default">False</property>
42f49d0
                                                 <property name="halign">start</property>
42f49d0
-                                                <property name="label" translatable="yes" context="printdialog|labelpapersides">Paper _sides:</property>
42f49d0
+                                                <property name="margin_top">2</property>
42f49d0
+                                                <property name="margin_bottom">2</property>
42f49d0
                                                 <property name="use_underline">True</property>
42f49d0
-                                                <property name="mnemonic_widget">sidesbox</property>
42f49d0
+                                                <property name="draw_indicator">True</property>
42f49d0
+                                                <property name="group">rbAllPages</property>
42f49d0
                                               </object>
42f49d0
                                               <packing>
42f49d0
                                                 <property name="left_attach">0</property>
42f49d0
@@ -642,635 +527,763 @@
42f49d0
                                               </packing>
42f49d0
                                             </child>
42f49d0
                                             <child>
42f49d0
-                                              <object class="GtkComboBoxText" id="sidesbox">
42f49d0
+                                              <object class="GtkEntry" id="pagerange">
42f49d0
                                                 <property name="visible">True</property>
42f49d0
-                                                <property name="can_focus">False</property>
42f49d0
+                                                <property name="can_focus">True</property>
42f49d0
                                                 <property name="hexpand">True</property>
42f49d0
-                                                <items>
42f49d0
-                                                  <item translatable="yes" context="printdialog|liststore4">Print on one side (simplex)</item>
42f49d0
-                                                  <item translatable="yes" context="printdialog|liststore4">Print on both sides (duplex long edge)</item>
42f49d0
-                                                  <item translatable="yes" context="printdialog|liststore4">Print on both sides (duplex short edge)</item>
42f49d0
-                                                </items>
42f49d0
+                                                <property name="activates_default">True</property>
42f49d0
+                                                <property name="placeholder_text" translatable="yes" context="printdialog|pagerange">e.g.: 1, 3-5, 7, 9</property>
42f49d0
                                               </object>
42f49d0
                                               <packing>
42f49d0
                                                 <property name="left_attach">1</property>
42f49d0
                                                 <property name="top_attach">1</property>
42f49d0
-                                                <property name="width">2</property>
42f49d0
                                               </packing>
42f49d0
                                             </child>
42f49d0
                                             <child>
42f49d0
-                                              <object class="GtkLabel" id="labelcopies">
42f49d0
+                                              <object class="GtkRadioButton" id="rbEvenPages">
42f49d0
+                                                <property name="label" translatable="yes" context="printdialog|rmEvenPages">_Even pages</property>
42f49d0
                                                 <property name="visible">True</property>
42f49d0
-                                                <property name="can_focus">False</property>
42f49d0
+                                                <property name="can_focus">True</property>
42f49d0
+                                                <property name="receives_default">False</property>
42f49d0
                                                 <property name="halign">start</property>
42f49d0
-                                                <property name="label" translatable="yes" context="printdialog|labelcopies">_Number of copies:</property>
42f49d0
+                                                <property name="margin_top">2</property>
42f49d0
+                                                <property name="margin_bottom">2</property>
42f49d0
                                                 <property name="use_underline">True</property>
42f49d0
-                                                <property name="mnemonic_widget">copycount</property>
42f49d0
+                                                <property name="draw_indicator">True</property>
42f49d0
+                                                <property name="group">rbAllPages</property>
42f49d0
                                               </object>
42f49d0
                                               <packing>
42f49d0
                                                 <property name="left_attach">0</property>
42f49d0
                                                 <property name="top_attach">2</property>
42f49d0
+                                                <property name="width">2</property>
42f49d0
                                               </packing>
42f49d0
                                             </child>
42f49d0
                                             <child>
42f49d0
-                                              <object class="GtkSpinButton" id="copycount">
42f49d0
+                                              <object class="GtkRadioButton" id="rbOddPages">
42f49d0
+                                                <property name="label" translatable="yes" context="printdialog|rbOddPages">_Odd pages</property>
42f49d0
                                                 <property name="visible">True</property>
42f49d0
                                                 <property name="can_focus">True</property>
42f49d0
-                                                <property name="valign">center</property>
42f49d0
-                                                <property name="hexpand">True</property>
42f49d0
-                                                <property name="activates_default">True</property>
42f49d0
-                                                <property name="text">1</property>
42f49d0
-                                                <property name="adjustment">adjustment2</property>
42f49d0
-                                                <property name="value">1</property>
42f49d0
+                                                <property name="receives_default">False</property>
42f49d0
+                                                <property name="halign">start</property>
42f49d0
+                                                <property name="margin_top">2</property>
42f49d0
+                                                <property name="margin_bottom">2</property>
42f49d0
+                                                <property name="use_underline">True</property>
42f49d0
+                                                <property name="draw_indicator">True</property>
42f49d0
+                                                <property name="group">rbAllPages</property>
42f49d0
                                               </object>
42f49d0
                                               <packing>
42f49d0
-                                                <property name="left_attach">1</property>
42f49d0
-                                                <property name="top_attach">2</property>
42f49d0
+                                                <property name="left_attach">0</property>
42f49d0
+                                                <property name="top_attach">3</property>
42f49d0
+                                                <property name="width">2</property>
42f49d0
+                                              </packing>
42f49d0
+                                            </child>
42f49d0
+                                            <child>
42f49d0
+                                              <object class="GtkRadioButton" id="rbRangeSelection">
42f49d0
+                                                <property name="label" translatable="yes" context="printdialog|rbRangeSelection">_Selection</property>
42f49d0
+                                                <property name="can_focus">True</property>
42f49d0
+                                                <property name="receives_default">False</property>
42f49d0
+                                                <property name="halign">start</property>
42f49d0
+                                                <property name="margin_top">2</property>
42f49d0
+                                                <property name="use_underline">True</property>
42f49d0
+                                                <property name="draw_indicator">True</property>
42f49d0
+                                                <property name="group">rbAllPages</property>
42f49d0
+                                              </object>
42f49d0
+                                              <packing>
42f49d0
+                                                <property name="left_attach">0</property>
42f49d0
+                                                <property name="top_attach">4</property>
42f49d0
+                                                <property name="width">2</property>
42f49d0
                                               </packing>
42f49d0
                                             </child>
42f49d0
+                                          </object>
42f49d0
+                                          <packing>
42f49d0
+                                            <property name="left_attach">0</property>
42f49d0
+                                            <property name="top_attach">0</property>
42f49d0
+                                          </packing>
42f49d0
+                                        </child>
42f49d0
+                                        <child>
42f49d0
+                                          <object class="GtkExpander" id="exRangeExpander">
42f49d0
+                                            <property name="visible">True</property>
42f49d0
+                                            <property name="can_focus">True</property>
42f49d0
+                                            <property name="hexpand">True</property>
42f49d0
                                             <child>
42f49d0
-                                              <object class="GtkBox" id="box9">
42f49d0
+                                              <object class="GtkGrid" id="gdCopiesExtra">
42f49d0
                                                 <property name="visible">True</property>
42f49d0
                                                 <property name="can_focus">False</property>
42f49d0
-                                                <property name="halign">end</property>
42f49d0
-                                                <property name="spacing">4</property>
42f49d0
+                                                <property name="row_spacing">2</property>
42f49d0
+                                                <property name="column_spacing">6</property>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkLabel" id="fromwhich">
42f49d0
+                                                    <property name="can_focus">False</property>
42f49d0
+                                                    <property name="halign">start</property>
42f49d0
+                                                    <property name="label" translatable="yes" context="printdialog|fromwhich">_From which print:</property>
42f49d0
+                                                    <property name="use_underline">True</property>
42f49d0
+                                                    <property name="mnemonic_widget">printextrabox</property>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">0</property>
42f49d0
+                                                    <property name="top_attach">0</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkComboBoxText" id="printextrabox">
42f49d0
+                                                    <property name="can_focus">False</property>
42f49d0
+                                                    <property name="hexpand">True</property>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">1</property>
42f49d0
+                                                    <property name="top_attach">0</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkLabel" id="labelpapersides">
42f49d0
+                                                    <property name="visible">True</property>
42f49d0
+                                                    <property name="can_focus">False</property>
42f49d0
+                                                    <property name="halign">start</property>
42f49d0
+                                                    <property name="label" translatable="yes" context="printdialog|labelpapersides">Paper _sides:</property>
42f49d0
+                                                    <property name="use_underline">True</property>
42f49d0
+                                                    <property name="mnemonic_widget">sidesbox</property>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">0</property>
42f49d0
+                                                    <property name="top_attach">1</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkComboBoxText" id="sidesbox">
42f49d0
+                                                    <property name="visible">True</property>
42f49d0
+                                                    <property name="can_focus">False</property>
42f49d0
+                                                    <property name="hexpand">True</property>
42f49d0
+                                                    <items>
42f49d0
+                                                      <item translatable="yes" context="printdialog|liststore4">Print on one side (simplex)</item>
42f49d0
+                                                      <item translatable="yes" context="printdialog|liststore4">Print on both sides (duplex long edge)</item>
42f49d0
+                                                      <item translatable="yes" context="printdialog|liststore4">Print on both sides (duplex short edge)</item>
42f49d0
+                                                    </items>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">1</property>
42f49d0
+                                                    <property name="top_attach">1</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkLabel" id="labelcopies">
42f49d0
+                                                    <property name="visible">True</property>
42f49d0
+                                                    <property name="can_focus">False</property>
42f49d0
+                                                    <property name="halign">start</property>
42f49d0
+                                                    <property name="label" translatable="yes" context="printdialog|labelcopies">_Number of copies:</property>
42f49d0
+                                                    <property name="use_underline">True</property>
42f49d0
+                                                    <property name="mnemonic_widget">copycount</property>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">0</property>
42f49d0
+                                                    <property name="top_attach">2</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkSpinButton" id="copycount">
42f49d0
+                                                    <property name="visible">True</property>
42f49d0
+                                                    <property name="can_focus">True</property>
42f49d0
+                                                    <property name="valign">center</property>
42f49d0
+                                                    <property name="hexpand">True</property>
42f49d0
+                                                    <property name="activates_default">True</property>
42f49d0
+                                                    <property name="text">1</property>
42f49d0
+                                                    <property name="adjustment">adjustment2</property>
42f49d0
+                                                    <property name="value">1</property>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">1</property>
42f49d0
+                                                    <property name="top_attach">2</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkLabel" id="cbPrintOrder">
42f49d0
+                                                    <property name="visible">True</property>
42f49d0
+                                                    <property name="can_focus">False</property>
42f49d0
+                                                    <property name="halign">start</property>
42f49d0
+                                                    <property name="label" translatable="yes" context="printdialog|cbPrintOrder">Order:</property>
42f49d0
+                                                    <property name="use_underline">True</property>
42f49d0
+                                                    <property name="mnemonic_widget">reverseorder</property>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">0</property>
42f49d0
+                                                    <property name="top_attach">4</property>
42f49d0
+                                                    <property name="width">2</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
                                                 <child>
42f49d0
-                                                  <object class="GtkCheckButton" id="collate">
42f49d0
-                                                    <property name="label" translatable="yes" context="printdialog|collate">_Collate</property>
42f49d0
+                                                  <object class="GtkCheckButton" id="reverseorder">
42f49d0
+                                                    <property name="label" translatable="yes" context="printdialog|reverseorder">Print in _reverse order</property>
42f49d0
                                                     <property name="visible">True</property>
42f49d0
                                                     <property name="can_focus">True</property>
42f49d0
                                                     <property name="receives_default">False</property>
42f49d0
+                                                    <property name="halign">start</property>
42f49d0
                                                     <property name="use_underline">True</property>
42f49d0
                                                     <property name="draw_indicator">True</property>
42f49d0
                                                   </object>
42f49d0
                                                   <packing>
42f49d0
-                                                    <property name="expand">False</property>
42f49d0
-                                                    <property name="fill">True</property>
42f49d0
-                                                    <property name="position">0</property>
42f49d0
+                                                    <property name="left_attach">1</property>
42f49d0
+                                                    <property name="top_attach">4</property>
42f49d0
                                                   </packing>
42f49d0
                                                 </child>
42f49d0
                                                 <child>
42f49d0
-                                                  <object class="GtkImage" id="collateimage">
42f49d0
+                                                  <object class="GtkBox" id="box9">
42f49d0
                                                     <property name="visible">True</property>
42f49d0
                                                     <property name="can_focus">False</property>
42f49d0
-                                                    <property name="stock">gtk-missing-image</property>
42f49d0
+                                                    <property name="halign">start</property>
42f49d0
+                                                    <property name="spacing">4</property>
42f49d0
+                                                    <child>
42f49d0
+                                                      <object class="GtkCheckButton" id="collate">
42f49d0
+                                                        <property name="label" translatable="yes" context="printdialog|collate">_Collate</property>
42f49d0
+                                                        <property name="visible">True</property>
42f49d0
+                                                        <property name="can_focus">True</property>
42f49d0
+                                                        <property name="receives_default">False</property>
42f49d0
+                                                        <property name="use_underline">True</property>
42f49d0
+                                                        <property name="draw_indicator">True</property>
42f49d0
+                                                      </object>
42f49d0
+                                                      <packing>
42f49d0
+                                                        <property name="expand">False</property>
42f49d0
+                                                        <property name="fill">True</property>
42f49d0
+                                                        <property name="position">0</property>
42f49d0
+                                                      </packing>
42f49d0
+                                                    </child>
42f49d0
+                                                    <child>
42f49d0
+                                                      <object class="GtkImage" id="collateimage">
42f49d0
+                                                        <property name="visible">True</property>
42f49d0
+                                                        <property name="can_focus">False</property>
42f49d0
+                                                        <property name="stock">gtk-missing-image</property>
42f49d0
+                                                      </object>
42f49d0
+                                                      <packing>
42f49d0
+                                                        <property name="expand">False</property>
42f49d0
+                                                        <property name="fill">True</property>
42f49d0
+                                                        <property name="position">1</property>
42f49d0
+                                                      </packing>
42f49d0
+                                                    </child>
42f49d0
                                                   </object>
42f49d0
                                                   <packing>
42f49d0
-                                                    <property name="expand">False</property>
42f49d0
-                                                    <property name="fill">True</property>
42f49d0
-                                                    <property name="position">1</property>
42f49d0
+                                                    <property name="left_attach">1</property>
42f49d0
+                                                    <property name="top_attach">3</property>
42f49d0
                                                   </packing>
42f49d0
                                                 </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <placeholder/>
42f49d0
+                                                </child>
42f49d0
                                               </object>
42f49d0
-                                              <packing>
42f49d0
-                                                <property name="left_attach">2</property>
42f49d0
-                                                <property name="top_attach">2</property>
42f49d0
-                                              </packing>
42f49d0
                                             </child>
42f49d0
-                                            <child>
42f49d0
-                                              <object class="GtkLabel" id="cbPrintOrder">
42f49d0
+                                            <child type="label">
42f49d0
+                                              <object class="GtkLabel" id="lbRangeExpander">
42f49d0
                                                 <property name="visible">True</property>
42f49d0
                                                 <property name="can_focus">False</property>
42f49d0
-                                                <property name="halign">start</property>
42f49d0
-                                                <property name="label" translatable="yes" context="printdialog|cbPrintOrder">_Order:</property>
42f49d0
-                                                <property name="use_underline">True</property>
42f49d0
-                                                <property name="mnemonic_widget">reverseorder</property>
42f49d0
-                                              </object>
42f49d0
-                                              <packing>
42f49d0
-                                                <property name="left_attach">0</property>
42f49d0
-                                                <property name="top_attach">3</property>
42f49d0
-                                              </packing>
42f49d0
-                                            </child>
42f49d0
-                                            <child>
42f49d0
-                                              <object class="GtkCheckButton" id="reverseorder">
42f49d0
-                                                <property name="label" translatable="yes" context="printdialog|reverseorder">Print in _reverse order</property>
42f49d0
-                                                <property name="visible">True</property>
42f49d0
-                                                <property name="can_focus">True</property>
42f49d0
-                                                <property name="receives_default">False</property>
42f49d0
-                                                <property name="halign">start</property>
42f49d0
+                                                <property name="label" translatable="yes" context="printdialog|rangeexpander">_more</property>
42f49d0
                                                 <property name="use_underline">True</property>
42f49d0
-                                                <property name="draw_indicator">True</property>
42f49d0
                                               </object>
42f49d0
-                                              <packing>
42f49d0
-                                                <property name="left_attach">1</property>
42f49d0
-                                                <property name="top_attach">3</property>
42f49d0
-                                                <property name="width">2</property>
42f49d0
-                                              </packing>
42f49d0
                                             </child>
42f49d0
                                           </object>
42f49d0
-                                        </child>
42f49d0
-                                        <child type="label">
42f49d0
-                                          <object class="GtkLabel" id="lbRangeExpander">
42f49d0
-                                            <property name="visible">True</property>
42f49d0
-                                            <property name="can_focus">False</property>
42f49d0
-                                            <property name="label" translatable="yes" context="printdialog|rangeexpander">_more</property>
42f49d0
-                                            <property name="use_underline">True</property>
42f49d0
-                                          </object>
42f49d0
+                                          <packing>
42f49d0
+                                            <property name="left_attach">0</property>
42f49d0
+                                            <property name="top_attach">1</property>
42f49d0
+                                          </packing>
42f49d0
                                         </child>
42f49d0
                                       </object>
42f49d0
-                                      <packing>
42f49d0
-                                        <property name="left_attach">0</property>
42f49d0
-                                        <property name="top_attach">5</property>
42f49d0
-                                        <property name="width">2</property>
42f49d0
-                                      </packing>
42f49d0
                                     </child>
42f49d0
                                   </object>
42f49d0
                                 </child>
42f49d0
+                                <child type="label">
42f49d0
+                                  <object class="GtkLabel" id="label2">
42f49d0
+                                    <property name="visible">True</property>
42f49d0
+                                    <property name="can_focus">False</property>
42f49d0
+                                    <property name="label" translatable="yes" context="printdialog|label2">Range and Copies</property>
42f49d0
+                                    <attributes>
42f49d0
+                                      <attribute name="weight" value="bold"/>
42f49d0
+                                    </attributes>
42f49d0
+                                  </object>
42f49d0
+                                </child>
42f49d0
                               </object>
42f49d0
+                              <packing>
42f49d0
+                                <property name="expand">False</property>
42f49d0
+                                <property name="fill">True</property>
42f49d0
+                                <property name="position">1</property>
42f49d0
+                              </packing>
42f49d0
                             </child>
42f49d0
-                            <child type="label">
42f49d0
-                              <object class="GtkLabel" id="label2">
42f49d0
-                                <property name="visible">True</property>
42f49d0
-                                <property name="can_focus">False</property>
42f49d0
-                                <property name="label" translatable="yes" context="printdialog|label2">Range and Copies</property>
42f49d0
-                                <property name="mnemonic_widget">grid1</property>
42f49d0
-                                <attributes>
42f49d0
-                                  <attribute name="weight" value="bold"/>
42f49d0
-                                </attributes>
42f49d0
-                              </object>
42f49d0
-                            </child>
42f49d0
-                          </object>
42f49d0
-                          <packing>
42f49d0
-                            <property name="expand">False</property>
42f49d0
-                            <property name="fill">True</property>
42f49d0
-                            <property name="position">1</property>
42f49d0
-                          </packing>
42f49d0
-                        </child>
42f49d0
-                        <child>
42f49d0
-                          <object class="GtkFrame" id="layoutframe">
42f49d0
-                            <property name="visible">True</property>
42f49d0
-                            <property name="can_focus">False</property>
42f49d0
-                            <property name="label_xalign">0</property>
42f49d0
-                            <property name="shadow_type">none</property>
42f49d0
                             <child>
42f49d0
-                              <object class="GtkAlignment" id="alignment3">
42f49d0
+                              <object class="GtkFrame" id="layoutframe">
42f49d0
                                 <property name="visible">True</property>
42f49d0
                                 <property name="can_focus">False</property>
42f49d0
-                                <property name="top_padding">6</property>
42f49d0
-                                <property name="left_padding">12</property>
42f49d0
+                                <property name="label_xalign">0</property>
42f49d0
+                                <property name="shadow_type">none</property>
42f49d0
                                 <child>
42f49d0
-                                  <object class="GtkGrid" id="grid3">
42f49d0
+                                  <object class="GtkAlignment" id="alignment3">
42f49d0
                                     <property name="visible">True</property>
42f49d0
                                     <property name="can_focus">False</property>
42f49d0
-                                    <property name="row_spacing">6</property>
42f49d0
-                                    <property name="column_spacing">6</property>
42f49d0
+                                    <property name="top_padding">6</property>
42f49d0
+                                    <property name="left_padding">12</property>
42f49d0
                                     <child>
42f49d0
-                                      <object class="GtkLabel" id="labelorientation">
42f49d0
+                                      <object class="GtkGrid">
42f49d0
                                         <property name="visible">True</property>
42f49d0
                                         <property name="can_focus">False</property>
42f49d0
-                                        <property name="halign">start</property>
42f49d0
-                                        <property name="label" translatable="yes" context="printdialog|labelorientation">Orientation:</property>
42f49d0
-                                        <property name="use_underline">True</property>
42f49d0
-                                        <property name="mnemonic_widget">pageorientationbox</property>
42f49d0
-                                      </object>
42f49d0
-                                      <packing>
42f49d0
-                                        <property name="left_attach">0</property>
42f49d0
-                                        <property name="top_attach">1</property>
42f49d0
-                                      </packing>
42f49d0
-                                    </child>
42f49d0
-                                    <child>
42f49d0
-                                      <object class="GtkLabel" id="labelsize">
42f49d0
-                                        <property name="visible">True</property>
42f49d0
-                                        <property name="can_focus">False</property>
42f49d0
-                                        <property name="halign">start</property>
42f49d0
-                                        <property name="label" translatable="yes" context="printdialog|labelsize">Paper size:</property>
42f49d0
-                                        <property name="use_underline">True</property>
42f49d0
-                                        <property name="mnemonic_widget">papersizebox</property>
42f49d0
-                                      </object>
42f49d0
-                                      <packing>
42f49d0
-                                        <property name="left_attach">0</property>
42f49d0
-                                        <property name="top_attach">0</property>
42f49d0
-                                      </packing>
42f49d0
-                                    </child>
42f49d0
-                                    <child>
42f49d0
-                                      <object class="GtkComboBoxText" id="pageorientationbox">
42f49d0
-                                        <property name="visible">True</property>
42f49d0
-                                        <property name="can_focus">False</property>
42f49d0
-                                        <property name="hexpand">True</property>
42f49d0
-                                        <property name="active">0</property>
42f49d0
-                                        <items>
42f49d0
-                                          <item translatable="yes" context="printdialog|liststore3">Automatic</item>
42f49d0
-                                          <item translatable="yes" context="printdialog|liststore3">Portrait</item>
42f49d0
-                                          <item translatable="yes" context="printdialog|liststore3">Landscape</item>
42f49d0
-                                        </items>
42f49d0
-                                      </object>
42f49d0
-                                      <packing>
42f49d0
-                                        <property name="left_attach">1</property>
42f49d0
-                                        <property name="top_attach">1</property>
42f49d0
-                                      </packing>
42f49d0
-                                    </child>
42f49d0
-                                    <child>
42f49d0
-                                      <object class="GtkComboBoxText" id="papersizebox">
42f49d0
-                                        <property name="visible">True</property>
42f49d0
-                                        <property name="can_focus">False</property>
42f49d0
-                                        <property name="hexpand">True</property>
42f49d0
-                                      </object>
42f49d0
-                                      <packing>
42f49d0
-                                        <property name="left_attach">1</property>
42f49d0
-                                        <property name="top_attach">0</property>
42f49d0
-                                      </packing>
42f49d0
-                                    </child>
42f49d0
-                                    <child>
42f49d0
-                                      <object class="GtkExpander" id="exLayoutExpander">
42f49d0
-                                        <property name="visible">True</property>
42f49d0
-                                        <property name="can_focus">True</property>
42f49d0
-                                        <property name="hexpand">True</property>
42f49d0
-                                        <property name="resize_toplevel">True</property>
42f49d0
+                                        <property name="row_spacing">6</property>
42f49d0
                                         <child>
42f49d0
-                                          <object class="GtkGrid">
42f49d0
+                                          <object class="GtkGrid" id="pagegrid">
42f49d0
                                             <property name="visible">True</property>
42f49d0
                                             <property name="can_focus">False</property>
42f49d0
                                             <property name="row_spacing">6</property>
42f49d0
                                             <property name="column_spacing">6</property>
42f49d0
                                             <child>
42f49d0
-                                              <object class="GtkBox" id="box12">
42f49d0
+                                              <object class="GtkLabel" id="labelorientation">
42f49d0
                                                 <property name="visible">True</property>
42f49d0
                                                 <property name="can_focus">False</property>
42f49d0
-                                                <property name="spacing">3</property>
42f49d0
-                                                <child>
42f49d0
-                                                  <object class="GtkRadioButton" id="pagespersheetbtn">
42f49d0
-                                                    <property name="label" translatable="yes" context="printdialog|pagespersheetbtn">Pages per sheet:</property>
42f49d0
-                                                    <property name="visible">True</property>
42f49d0
-                                                    <property name="can_focus">True</property>
42f49d0
-                                                    <property name="receives_default">False</property>
42f49d0
-                                                    <property name="halign">start</property>
42f49d0
-                                                    <property name="use_underline">True</property>
42f49d0
-                                                    <property name="active">True</property>
42f49d0
-                                                    <property name="draw_indicator">True</property>
42f49d0
-                                                    <accessibility>
42f49d0
-                                                      <relation type="label-for" target="pagespersheetbox"/>
42f49d0
-                                                    </accessibility>
42f49d0
-                                                  </object>
42f49d0
-                                                  <packing>
42f49d0
-                                                    <property name="expand">False</property>
42f49d0
-                                                    <property name="fill">True</property>
42f49d0
-                                                    <property name="position">0</property>
42f49d0
-                                                  </packing>
42f49d0
-                                                </child>
42f49d0
-                                                <child>
42f49d0
-                                                  <object class="GtkLabel" id="pagespersheettxt">
42f49d0
-                                                    <property name="visible">True</property>
42f49d0
-                                                    <property name="can_focus">False</property>
42f49d0
-                                                  </object>
42f49d0
-                                                  <packing>
42f49d0
-                                                    <property name="expand">False</property>
42f49d0
-                                                    <property name="fill">True</property>
42f49d0
-                                                    <property name="position">1</property>
42f49d0
-                                                  </packing>
42f49d0
-                                                </child>
42f49d0
+                                                <property name="halign">start</property>
42f49d0
+                                                <property name="label" translatable="yes" context="printdialog|labelorientation">Orientation:</property>
42f49d0
+                                                <property name="use_underline">True</property>
42f49d0
+                                                <property name="mnemonic_widget">pageorientationbox</property>
42f49d0
                                               </object>
42f49d0
                                               <packing>
42f49d0
                                                 <property name="left_attach">0</property>
42f49d0
-                                                <property name="top_attach">0</property>
42f49d0
+                                                <property name="top_attach">1</property>
42f49d0
                                               </packing>
42f49d0
                                             </child>
42f49d0
                                             <child>
42f49d0
-                                              <object class="GtkComboBoxText" id="pagespersheetbox">
42f49d0
+                                              <object class="GtkLabel" id="labelsize">
42f49d0
                                                 <property name="visible">True</property>
42f49d0
-                                                <property name="can_focus">False</property>
42f49d0
-                                                <property name="hexpand">True</property>
42f49d0
-                                                <property name="active">0</property>
42f49d0
-                                                <items>
42f49d0
-                                                  <item id="1" context="printdialog|liststore1">1</item>
42f49d0
-                                                  <item id="2" context="printdialog|liststore1">2</item>
42f49d0
-                                                  <item id="4" context="printdialog|liststore1">4</item>
42f49d0
-                                                  <item id="6" context="printdialog|liststore1">6</item>
42f49d0
-                                                  <item id="9" context="printdialog|liststore1">9</item>
42f49d0
-                                                  <item id="16" context="printdialog|liststore1">16</item>
42f49d0
-                                                  <item id="65535" translatable="yes" context="printdialog|liststore1">Custom</item>
42f49d0
-                                                </items>
42f49d0
-                                                <accessibility>
42f49d0
-                                                  <relation type="labelled-by" target="pagespersheetbtn"/>
42f49d0
-                                                </accessibility>
42f49d0
-                                              </object>
42f49d0
-                                              <packing>
42f49d0
-                                                <property name="left_attach">1</property>
42f49d0
-                                                <property name="top_attach">0</property>
42f49d0
-                                                <property name="width">3</property>
42f49d0
-                                              </packing>
42f49d0
-                                            </child>
42f49d0
-                                            <child>
42f49d0
-                                              <object class="GtkLabel" id="pagestxt">
42f49d0
                                                 <property name="can_focus">False</property>
42f49d0
                                                 <property name="halign">start</property>
42f49d0
-                                                <property name="label" translatable="yes" context="printdialog|pagespersheettxt">Pages:</property>
42f49d0
+                                                <property name="label" translatable="yes" context="printdialog|labelsize">Paper size:</property>
42f49d0
                                                 <property name="use_underline">True</property>
42f49d0
-                                                <property name="mnemonic_widget">pagerows</property>
42f49d0
+                                                <property name="mnemonic_widget">papersizebox</property>
42f49d0
                                               </object>
42f49d0
                                               <packing>
42f49d0
                                                 <property name="left_attach">0</property>
42f49d0
-                                                <property name="top_attach">1</property>
42f49d0
-                                              </packing>
42f49d0
-                                            </child>
42f49d0
-                                            <child>
42f49d0
-                                              <object class="GtkSpinButton" id="pagerows">
42f49d0
-                                                <property name="can_focus">True</property>
42f49d0
-                                                <property name="activates_default">True</property>
42f49d0
-                                                <property name="text">1</property>
42f49d0
-                                                <property name="adjustment">adjustment3</property>
42f49d0
-                                                <property name="value">1</property>
42f49d0
-                                              </object>
42f49d0
-                                              <packing>
42f49d0
-                                                <property name="left_attach">1</property>
42f49d0
-                                                <property name="top_attach">1</property>
42f49d0
+                                                <property name="top_attach">0</property>
42f49d0
                                               </packing>
42f49d0
                                             </child>
42f49d0
                                             <child>
42f49d0
-                                              <object class="GtkLabel" id="by">
42f49d0
+                                              <object class="GtkComboBoxText" id="pageorientationbox">
42f49d0
+                                                <property name="visible">True</property>
42f49d0
                                                 <property name="can_focus">False</property>
42f49d0
-                                                <property name="label" translatable="yes" context="printdialog|by">by</property>
42f49d0
-                                                <property name="use_underline">True</property>
42f49d0
-                                                <property name="mnemonic_widget">pagecols</property>
42f49d0
-                                              </object>
42f49d0
-                                              <packing>
42f49d0
-                                                <property name="left_attach">2</property>
42f49d0
-                                                <property name="top_attach">1</property>
42f49d0
-                                              </packing>
42f49d0
-                                            </child>
42f49d0
-                                            <child>
42f49d0
-                                              <object class="GtkSpinButton" id="pagecols">
42f49d0
-                                                <property name="can_focus">True</property>
42f49d0
-                                                <property name="activates_default">True</property>
42f49d0
-                                                <property name="text">1</property>
42f49d0
-                                                <property name="adjustment">adjustment4</property>
42f49d0
-                                                <property name="value">1</property>
42f49d0
+                                                <property name="hexpand">True</property>
42f49d0
+                                                <property name="active">0</property>
42f49d0
+                                                <items>
42f49d0
+                                                  <item translatable="yes" context="printdialog|liststore3">Automatic</item>
42f49d0
+                                                  <item translatable="yes" context="printdialog|liststore3">Portrait</item>
42f49d0
+                                                  <item translatable="yes" context="printdialog|liststore3">Landscape</item>
42f49d0
+                                                </items>
42f49d0
                                               </object>
42f49d0
                                               <packing>
42f49d0
-                                                <property name="left_attach">3</property>
42f49d0
+                                                <property name="left_attach">1</property>
42f49d0
                                                 <property name="top_attach">1</property>
42f49d0
                                               </packing>
42f49d0
                                             </child>
42f49d0
                                             <child>
42f49d0
-                                              <object class="GtkLabel" id="pagemargintxt1">
42f49d0
+                                              <object class="GtkComboBoxText" id="papersizebox">
42f49d0
+                                                <property name="visible">True</property>
42f49d0
                                                 <property name="can_focus">False</property>
42f49d0
-                                                <property name="halign">start</property>
42f49d0
-                                                <property name="label" translatable="yes" context="printdialog|pagemargintxt1">Margin:</property>
42f49d0
-                                                <property name="use_underline">True</property>
42f49d0
-                                                <property name="mnemonic_widget">pagemarginsb</property>
42f49d0
-                                              </object>
42f49d0
-                                              <packing>
42f49d0
-                                                <property name="left_attach">0</property>
42f49d0
-                                                <property name="top_attach">2</property>
42f49d0
-                                              </packing>
42f49d0
-                                            </child>
42f49d0
-                                            <child>
42f49d0
-                                              <object class="GtkSpinButton" id="pagemarginsb">
42f49d0
-                                                <property name="can_focus">True</property>
42f49d0
-                                                <property name="activates_default">True</property>
42f49d0
-                                                <property name="text">0</property>
42f49d0
-                                                <property name="adjustment">adjustment5</property>
42f49d0
+                                                <property name="hexpand">True</property>
42f49d0
                                               </object>
42f49d0
                                               <packing>
42f49d0
                                                 <property name="left_attach">1</property>
42f49d0
-                                                <property name="top_attach">2</property>
42f49d0
+                                                <property name="top_attach">0</property>
42f49d0
                                               </packing>
42f49d0
                                             </child>
42f49d0
+                                          </object>
42f49d0
+                                          <packing>
42f49d0
+                                            <property name="left_attach">0</property>
42f49d0
+                                            <property name="top_attach">0</property>
42f49d0
+                                          </packing>
42f49d0
+                                        </child>
42f49d0
+                                        <child>
42f49d0
+                                          <object class="GtkExpander" id="exLayoutExpander">
42f49d0
+                                            <property name="visible">True</property>
42f49d0
+                                            <property name="can_focus">True</property>
42f49d0
+                                            <property name="hexpand">True</property>
42f49d0
                                             <child>
42f49d0
-                                              <object class="GtkLabel" id="pagemargintxt2">
42f49d0
+                                              <object class="GtkGrid" id="expandpagegrid">
42f49d0
+                                                <property name="visible">True</property>
42f49d0
                                                 <property name="can_focus">False</property>
42f49d0
-                                                <property name="halign">start</property>
42f49d0
-                                                <property name="label" translatable="yes" context="printdialog|pagemargintxt2">between pages</property>
42f49d0
-                                              </object>
42f49d0
-                                              <packing>
42f49d0
-                                                <property name="left_attach">2</property>
42f49d0
-                                                <property name="top_attach">2</property>
42f49d0
-                                                <property name="width">2</property>
42f49d0
-                                              </packing>
42f49d0
-                                            </child>
42f49d0
-                                            <child>
42f49d0
-                                              <object class="GtkLabel" id="sheetmargintxt1">
42f49d0
-                                                <property name="can_focus">False</property>
42f49d0
-                                                <property name="halign">start</property>
42f49d0
-                                                <property name="label" translatable="yes" context="printdialog|sheetmargintxt1">Distance:</property>
42f49d0
-                                                <property name="use_underline">True</property>
42f49d0
-                                                <property name="mnemonic_widget">sheetmarginsb</property>
42f49d0
-                                              </object>
42f49d0
-                                              <packing>
42f49d0
-                                                <property name="left_attach">0</property>
42f49d0
-                                                <property name="top_attach">3</property>
42f49d0
-                                              </packing>
42f49d0
-                                            </child>
42f49d0
-                                            <child>
42f49d0
-                                              <object class="GtkSpinButton" id="sheetmarginsb">
42f49d0
-                                                <property name="can_focus">True</property>
42f49d0
-                                                <property name="activates_default">True</property>
42f49d0
-                                                <property name="text">0</property>
42f49d0
-                                                <property name="adjustment">adjustment6</property>
42f49d0
-                                              </object>
42f49d0
-                                              <packing>
42f49d0
-                                                <property name="left_attach">1</property>
42f49d0
-                                                <property name="top_attach">3</property>
42f49d0
-                                              </packing>
42f49d0
-                                            </child>
42f49d0
-                                            <child>
42f49d0
-                                              <object class="GtkLabel" id="sheetmargintxt2">
42f49d0
-                                                <property name="can_focus">False</property>
42f49d0
-                                                <property name="halign">start</property>
42f49d0
-                                                <property name="label" translatable="yes" context="printdialog|sheetmargintxt2">to sheet border</property>
42f49d0
-                                              </object>
42f49d0
-                                              <packing>
42f49d0
-                                                <property name="left_attach">2</property>
42f49d0
-                                                <property name="top_attach">3</property>
42f49d0
-                                                <property name="width">2</property>
42f49d0
-                                              </packing>
42f49d0
-                                            </child>
42f49d0
-                                            <child>
42f49d0
-                                              <object class="GtkLabel" id="labelorder">
42f49d0
-                                                <property name="visible">True</property>
42f49d0
-                                                <property name="can_focus">False</property>
42f49d0
-                                                <property name="halign">start</property>
42f49d0
-                                                <property name="label" translatable="yes" context="printdialog|labelorder">Order:</property>
42f49d0
-                                                <property name="use_underline">True</property>
42f49d0
-                                                <property name="mnemonic_widget">orderbox</property>
42f49d0
+                                                <property name="row_spacing">6</property>
42f49d0
+                                                <property name="column_spacing">6</property>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkBox" id="box12">
42f49d0
+                                                    <property name="visible">True</property>
42f49d0
+                                                    <property name="can_focus">False</property>
42f49d0
+                                                    <property name="spacing">3</property>
42f49d0
+                                                    <child>
42f49d0
+                                                      <object class="GtkRadioButton" id="pagespersheetbtn">
42f49d0
+                                                        <property name="label" translatable="yes" context="printdialog|pagespersheetbtn">Pages per sheet:</property>
42f49d0
+                                                        <property name="visible">True</property>
42f49d0
+                                                        <property name="can_focus">True</property>
42f49d0
+                                                        <property name="receives_default">False</property>
42f49d0
+                                                        <property name="halign">start</property>
42f49d0
+                                                        <property name="use_underline">True</property>
42f49d0
+                                                        <property name="active">True</property>
42f49d0
+                                                        <property name="draw_indicator">True</property>
42f49d0
+                                                        <accessibility>
42f49d0
+                                                          <relation type="label-for" target="pagespersheetbox"/>
42f49d0
+                                                        </accessibility>
42f49d0
+                                                      </object>
42f49d0
+                                                      <packing>
42f49d0
+                                                        <property name="expand">False</property>
42f49d0
+                                                        <property name="fill">True</property>
42f49d0
+                                                        <property name="position">0</property>
42f49d0
+                                                      </packing>
42f49d0
+                                                    </child>
42f49d0
+                                                    <child>
42f49d0
+                                                      <object class="GtkLabel" id="pagespersheettxt">
42f49d0
+                                                        <property name="visible">True</property>
42f49d0
+                                                        <property name="can_focus">False</property>
42f49d0
+                                                      </object>
42f49d0
+                                                      <packing>
42f49d0
+                                                        <property name="expand">False</property>
42f49d0
+                                                        <property name="fill">True</property>
42f49d0
+                                                        <property name="position">1</property>
42f49d0
+                                                      </packing>
42f49d0
+                                                    </child>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">0</property>
42f49d0
+                                                    <property name="top_attach">0</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkComboBoxText" id="pagespersheetbox">
42f49d0
+                                                    <property name="visible">True</property>
42f49d0
+                                                    <property name="can_focus">False</property>
42f49d0
+                                                    <property name="hexpand">True</property>
42f49d0
+                                                    <property name="active">0</property>
42f49d0
+                                                    <items>
42f49d0
+                                                      <item id="1" context="printdialog|liststore1">1</item>
42f49d0
+                                                      <item id="2" context="printdialog|liststore1">2</item>
42f49d0
+                                                      <item id="4" context="printdialog|liststore1">4</item>
42f49d0
+                                                      <item id="6" context="printdialog|liststore1">6</item>
42f49d0
+                                                      <item id="9" context="printdialog|liststore1">9</item>
42f49d0
+                                                      <item id="16" context="printdialog|liststore1">16</item>
42f49d0
+                                                      <item id="65535" translatable="yes" context="printdialog|liststore1">Custom</item>
42f49d0
+                                                    </items>
42f49d0
+                                                    <accessibility>
42f49d0
+                                                      <relation type="labelled-by" target="pagespersheetbtn"/>
42f49d0
+                                                    </accessibility>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">1</property>
42f49d0
+                                                    <property name="top_attach">0</property>
42f49d0
+                                                    <property name="width">3</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkLabel" id="pagestxt">
42f49d0
+                                                    <property name="can_focus">False</property>
42f49d0
+                                                    <property name="halign">start</property>
42f49d0
+                                                    <property name="label" translatable="yes" context="printdialog|pagespersheettxt">Pages:</property>
42f49d0
+                                                    <property name="use_underline">True</property>
42f49d0
+                                                    <property name="mnemonic_widget">pagerows</property>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">0</property>
42f49d0
+                                                    <property name="top_attach">1</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkSpinButton" id="pagerows">
42f49d0
+                                                    <property name="can_focus">True</property>
42f49d0
+                                                    <property name="activates_default">True</property>
42f49d0
+                                                    <property name="text">1</property>
42f49d0
+                                                    <property name="adjustment">adjustment3</property>
42f49d0
+                                                    <property name="value">1</property>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">1</property>
42f49d0
+                                                    <property name="top_attach">1</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkLabel" id="by">
42f49d0
+                                                    <property name="can_focus">False</property>
42f49d0
+                                                    <property name="label" translatable="yes" context="printdialog|by">by</property>
42f49d0
+                                                    <property name="use_underline">True</property>
42f49d0
+                                                    <property name="mnemonic_widget">pagecols</property>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">2</property>
42f49d0
+                                                    <property name="top_attach">1</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkSpinButton" id="pagecols">
42f49d0
+                                                    <property name="can_focus">True</property>
42f49d0
+                                                    <property name="activates_default">True</property>
42f49d0
+                                                    <property name="text">1</property>
42f49d0
+                                                    <property name="adjustment">adjustment4</property>
42f49d0
+                                                    <property name="value">1</property>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">3</property>
42f49d0
+                                                    <property name="top_attach">1</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkLabel" id="pagemargintxt1">
42f49d0
+                                                    <property name="can_focus">False</property>
42f49d0
+                                                    <property name="halign">start</property>
42f49d0
+                                                    <property name="label" translatable="yes" context="printdialog|pagemargintxt1">Margin:</property>
42f49d0
+                                                    <property name="use_underline">True</property>
42f49d0
+                                                    <property name="mnemonic_widget">pagemarginsb</property>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">0</property>
42f49d0
+                                                    <property name="top_attach">2</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkSpinButton" id="pagemarginsb">
42f49d0
+                                                    <property name="can_focus">True</property>
42f49d0
+                                                    <property name="activates_default">True</property>
42f49d0
+                                                    <property name="text">0</property>
42f49d0
+                                                    <property name="adjustment">adjustment5</property>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">1</property>
42f49d0
+                                                    <property name="top_attach">2</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkLabel" id="pagemargintxt2">
42f49d0
+                                                    <property name="can_focus">False</property>
42f49d0
+                                                    <property name="halign">start</property>
42f49d0
+                                                    <property name="label" translatable="yes" context="printdialog|pagemargintxt2">between pages</property>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">2</property>
42f49d0
+                                                    <property name="top_attach">2</property>
42f49d0
+                                                    <property name="width">2</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkLabel" id="sheetmargintxt1">
42f49d0
+                                                    <property name="can_focus">False</property>
42f49d0
+                                                    <property name="halign">start</property>
42f49d0
+                                                    <property name="label" translatable="yes" context="printdialog|sheetmargintxt1">Distance:</property>
42f49d0
+                                                    <property name="use_underline">True</property>
42f49d0
+                                                    <property name="mnemonic_widget">sheetmarginsb</property>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">0</property>
42f49d0
+                                                    <property name="top_attach">3</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkSpinButton" id="sheetmarginsb">
42f49d0
+                                                    <property name="can_focus">True</property>
42f49d0
+                                                    <property name="activates_default">True</property>
42f49d0
+                                                    <property name="text">0</property>
42f49d0
+                                                    <property name="adjustment">adjustment6</property>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">1</property>
42f49d0
+                                                    <property name="top_attach">3</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkLabel" id="sheetmargintxt2">
42f49d0
+                                                    <property name="can_focus">False</property>
42f49d0
+                                                    <property name="halign">start</property>
42f49d0
+                                                    <property name="label" translatable="yes" context="printdialog|sheetmargintxt2">to sheet border</property>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">2</property>
42f49d0
+                                                    <property name="top_attach">3</property>
42f49d0
+                                                    <property name="width">2</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkLabel" id="labelorder">
42f49d0
+                                                    <property name="visible">True</property>
42f49d0
+                                                    <property name="can_focus">False</property>
42f49d0
+                                                    <property name="halign">start</property>
42f49d0
+                                                    <property name="label" translatable="yes" context="printdialog|labelorder">Order:</property>
42f49d0
+                                                    <property name="use_underline">True</property>
42f49d0
+                                                    <property name="mnemonic_widget">orderbox</property>
42f49d0
+                                                  </object>
42f49d0
+                                                  <packing>
42f49d0
+                                                    <property name="left_attach">0</property>
42f49d0
+                                                    <property name="top_attach">4</property>
42f49d0
+                                                  </packing>
42f49d0
+                                                </child>
42f49d0
+                                                <child>
42f49d0
+                                                  <object class="GtkComboBoxText" id="orderbox">
42f49d0
+                                                    <property name="visible">True</property>