2013-03-26 15:02:25 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2017-08-05 22:17:29 +00:00
|
|
|
<interface domain="gtk40">
|
2013-03-26 15:02:25 +00:00
|
|
|
<!-- interface-requires gtk+ 3.6 -->
|
|
|
|
<object class="GtkListStore" id="custom_paper_list">
|
|
|
|
<columns>
|
|
|
|
<!-- column-name paper -->
|
|
|
|
<column type="GObject"/>
|
|
|
|
</columns>
|
|
|
|
</object>
|
|
|
|
<object class="GtkListStore" id="page_setup_list">
|
|
|
|
<columns>
|
|
|
|
<!-- column-name page-setup -->
|
|
|
|
<column type="GObject"/>
|
|
|
|
<!-- column-name is-separator -->
|
|
|
|
<column type="gboolean"/>
|
|
|
|
</columns>
|
|
|
|
</object>
|
|
|
|
<object class="GtkListStore" id="printer_list">
|
|
|
|
<columns>
|
|
|
|
<!-- column-name name -->
|
|
|
|
<column type="gchararray"/>
|
|
|
|
<!-- column-name printer -->
|
|
|
|
<column type="GObject"/>
|
|
|
|
</columns>
|
|
|
|
</object>
|
|
|
|
<template class="GtkPageSetupUnixDialog" parent="GtkDialog">
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="can-focus">False</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="resizable">False</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="type-hint">dialog</property>
|
2015-09-14 03:26:16 +00:00
|
|
|
<property name="title" translatable="yes">Page Setup</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<child internal-child="vbox">
|
|
|
|
<object class="GtkBox" id="dialog-vbox1">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">2</property>
|
2016-10-27 00:58:07 +00:00
|
|
|
<property name="margin">5</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkGrid" id="grid1">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="row-spacing">6</property>
|
|
|
|
<property name="column-spacing">12</property>
|
2016-10-27 00:58:07 +00:00
|
|
|
<property name="margin">5</property>
|
2017-04-21 16:59:59 +00:00
|
|
|
<property name="vexpand">1</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="printer_combo_label">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">center</property>
|
2015-09-14 03:26:16 +00:00
|
|
|
<property name="label" translatable="yes">_Format for:</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="use-underline">1</property>
|
|
|
|
<property name="mnemonic-widget">printer_combo</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">0</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkComboBox" id="printer_combo">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="hexpand">1</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="model">printer_list</property>
|
|
|
|
<signal name="changed" handler="printer_changed_callback" swapped="no"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkCellRendererText" id="printer_combo_renderer"/>
|
|
|
|
<attributes>
|
|
|
|
<attribute name="markup">0</attribute>
|
|
|
|
</attributes>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="left-attach">1</property>
|
|
|
|
<property name="top-attach">0</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="width">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="paper_size_combo_label">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">center</property>
|
2015-09-14 03:26:16 +00:00
|
|
|
<property name="label" translatable="yes">_Paper size:</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="use-underline">1</property>
|
|
|
|
<property name="mnemonic-widget">paper_size_combo</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">1</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkComboBox" id="paper_size_combo">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="hexpand">1</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="model">page_setup_list</property>
|
|
|
|
<signal name="changed" handler="paper_size_changed" swapped="no"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkCellRendererText" id="paper_size_cell"/>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="left-attach">1</property>
|
|
|
|
<property name="top-attach">1</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="width">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="paper_size_label">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="left-attach">1</property>
|
|
|
|
<property name="top-attach">2</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="width">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="orientation_label">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">center</property>
|
2015-09-14 03:26:16 +00:00
|
|
|
<property name="label" translatable="yes">_Orientation:</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="use-underline">1</property>
|
|
|
|
<property name="mnemonic-widget">portrait_radio</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">3</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkRadioButton" id="portrait_radio">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="can-focus">1</property>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="active">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="draw-indicator">1</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="box1">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image1">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="icon-name">gtk-orientation-portrait</property>
|
|
|
|
<property name="icon-size">3</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label1">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2015-09-14 03:26:16 +00:00
|
|
|
<property name="label" translatable="yes">Portrait</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="left-attach">1</property>
|
|
|
|
<property name="top-attach">3</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkRadioButton" id="reverse_portrait_radio">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="can-focus">1</property>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="active">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="draw-indicator">1</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="group">portrait_radio</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="box2">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image2">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="icon-name">gtk-orientation-reverse-portrait</property>
|
|
|
|
<property name="icon-size">3</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label2">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2015-09-14 03:26:16 +00:00
|
|
|
<property name="label" translatable="yes">Reverse portrait</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="left-attach">2</property>
|
|
|
|
<property name="top-attach">3</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkRadioButton" id="landscape_radio">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="can-focus">1</property>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="active">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="draw-indicator">1</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="group">portrait_radio</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="box3">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image3">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="icon-name">gtk-orientation-landscape</property>
|
|
|
|
<property name="icon-size">3</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label3">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2015-09-14 03:26:16 +00:00
|
|
|
<property name="label" translatable="yes">Landscape</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="left-attach">1</property>
|
|
|
|
<property name="top-attach">4</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkRadioButton" id="reverse_landscape_radio">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="can-focus">1</property>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="hexpand">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="draw-indicator">1</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="group">portrait_radio</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="box4">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image4">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="icon-name">gtk-orientation-reverse-landscape</property>
|
|
|
|
<property name="icon-size">3</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label4">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2015-09-14 03:26:16 +00:00
|
|
|
<property name="label" translatable="yes">Reverse landscape</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="left-attach">2</property>
|
|
|
|
<property name="top-attach">4</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
</interface>
|