2013-03-26 15:02:25 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface domain="gtk30">
|
|
|
|
<!-- 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">
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="border_width">5</property>
|
|
|
|
<property name="resizable">False</property>
|
|
|
|
<property name="type_hint">dialog</property>
|
2013-12-08 14:54:17 +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="can_focus">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">2</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkGrid" id="grid1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="border_width">5</property>
|
|
|
|
<property name="row_spacing">6</property>
|
|
|
|
<property name="column_spacing">12</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="printer_combo_label">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="label" translatable="yes">_Format for:</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<property name="mnemonic_widget">printer_combo</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">0</property>
|
|
|
|
<property name="top_attach">0</property>
|
|
|
|
<property name="width">1</property>
|
|
|
|
<property name="height">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkComboBox" id="printer_combo">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<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>
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="top_attach">0</property>
|
|
|
|
<property name="width">3</property>
|
|
|
|
<property name="height">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="paper_size_combo_label">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="label" translatable="yes">_Paper size:</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<property name="mnemonic_widget">paper_size_combo</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">0</property>
|
|
|
|
<property name="top_attach">1</property>
|
|
|
|
<property name="width">1</property>
|
|
|
|
<property name="height">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkComboBox" id="paper_size_combo">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<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>
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="top_attach">1</property>
|
|
|
|
<property name="width">3</property>
|
|
|
|
<property name="height">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="paper_size_label">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="top_attach">2</property>
|
|
|
|
<property name="width">3</property>
|
|
|
|
<property name="height">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="orientation_label">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="label" translatable="yes">_Orientation:</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<property name="mnemonic_widget">portrait_radio</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">0</property>
|
|
|
|
<property name="top_attach">3</property>
|
|
|
|
<property name="width">1</property>
|
|
|
|
<property name="height">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkRadioButton" id="portrait_radio">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="active">True</property>
|
|
|
|
<property name="draw_indicator">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="box1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2014-01-21 13:26:08 +00:00
|
|
|
<property name="icon_name">gtk-orientation-portrait</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="icon_size">3</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="label" translatable="yes">Portrait</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="top_attach">3</property>
|
|
|
|
<property name="width">1</property>
|
|
|
|
<property name="height">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkRadioButton" id="reverse_portrait_radio">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="active">True</property>
|
|
|
|
<property name="draw_indicator">True</property>
|
|
|
|
<property name="group">portrait_radio</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="box2">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image2">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2014-01-21 13:26:08 +00:00
|
|
|
<property name="icon_name">gtk-orientation-reverse-portrait</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="icon_size">3</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label2">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="label" translatable="yes">Reverse portrait</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">2</property>
|
|
|
|
<property name="top_attach">3</property>
|
|
|
|
<property name="width">1</property>
|
|
|
|
<property name="height">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkRadioButton" id="landscape_radio">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="active">True</property>
|
|
|
|
<property name="draw_indicator">True</property>
|
|
|
|
<property name="group">portrait_radio</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="box3">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image3">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2014-01-21 13:26:08 +00:00
|
|
|
<property name="icon_name">gtk-orientation-landscape</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="icon_size">3</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label3">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="label" translatable="yes">Landscape</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="top_attach">4</property>
|
|
|
|
<property name="width">1</property>
|
|
|
|
<property name="height">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkRadioButton" id="reverse_landscape_radio">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="draw_indicator">True</property>
|
|
|
|
<property name="group">portrait_radio</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="box4">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image4">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2014-01-21 13:26:08 +00:00
|
|
|
<property name="icon_name">gtk-orientation-reverse-landscape</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
<property name="icon_size">3</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label4">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="label" translatable="yes">Reverse landscape</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">2</property>
|
|
|
|
<property name="top_attach">4</property>
|
|
|
|
<property name="width">1</property>
|
|
|
|
<property name="height">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
2013-12-08 14:54:17 +00:00
|
|
|
<property name="position">0</property>
|
2013-03-26 15:02:25 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
</interface>
|