191 lines
6.8 KiB
XML
191 lines
6.8 KiB
XML
<?xml version="1.0"?>
|
||
<interface>
|
||
<requires lib="gtk+" version="3.12"/>
|
||
<!-- interface-naming-policy project-wide -->
|
||
<object class="GtkStack" id="headerbar-buttons">
|
||
<property name="visible">True</property>
|
||
<child>
|
||
<object class="GtkLockButton" id="lock-button">
|
||
<property name="visible">True</property>
|
||
</object>
|
||
<packing>
|
||
<property name="name">_lock</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkButton" id="printer-add-button">
|
||
<property name="visible">True</property>
|
||
<property name="sensitive">True</property>
|
||
<property name="use_underline">True</property>
|
||
<property name="label" translatable="yes" comments="Translators: This button adds new printer.">Add…</property>
|
||
<style>
|
||
<class name="suggested-action"/>
|
||
</style>
|
||
</object>
|
||
<packing>
|
||
<property name="name">_addprinter</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
<object class="GtkStack" id="main-vbox">
|
||
<child>
|
||
<object class="GtkBox">
|
||
<property name="visible">True</property>
|
||
<child>
|
||
<object class="GtkSpinner" id="loading-spinner">
|
||
<property name="visible">True</property>
|
||
<property name="active">True</property>
|
||
<property name="expand">True</property>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="name">loading-page</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkScrolledWindow">
|
||
<property name="visible">True</property>
|
||
<property name="hscrollbar-policy">GTK_POLICY_NEVER</property>
|
||
<property name="min-content-height">490</property>
|
||
<child>
|
||
<object class="GtkBox" id="content">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="orientation">vertical</property>
|
||
<property name="border-width">30</property>
|
||
<property name="margin-start">30</property>
|
||
<property name="margin-end">30</property>
|
||
<property name="spacing">20</property>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="name">printers-list</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkBox">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="spacing">10</property>
|
||
<property name="orientation">vertical</property>
|
||
<property name="valign">center</property>
|
||
<child>
|
||
<object class="GtkImage">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="valign">start</property>
|
||
<property name="pixel_size">72</property>
|
||
<property name="icon_name">printer-symbolic</property>
|
||
<style>
|
||
<class name="dim-label"/>
|
||
</style>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">False</property>
|
||
<property name="position">0</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkLabel">
|
||
<property name="visible">True</property>
|
||
<property name="margin_bottom">15</property>
|
||
<property name="label" translatable="yes">No printers</property>
|
||
<style>
|
||
<class name="dim-label"/>
|
||
</style>
|
||
<attributes>
|
||
<attribute name="scale" value="1.2"/>
|
||
</attributes>
|
||
</object>
|
||
<packing>
|
||
<property name="position">1</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkButton" id="printer-add-button2">
|
||
<property name="label" translatable="yes" comments="Translators: This button adds new printer.">Add a Printer…</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="receives_default">True</property>
|
||
<property name="halign">center</property>
|
||
<property name="relief">normal</property>
|
||
<style>
|
||
<class name="suggested-action"/>
|
||
</style>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">False</property>
|
||
<property name="position">2</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="name">empty-state</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkBox">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="spacing">10</property>
|
||
<property name="orientation">vertical</property>
|
||
<property name="valign">center</property>
|
||
<child>
|
||
<object class="GtkLabel">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="label" translatable="yes" comments="Translators: The CUPS server is not running (we can not connect to it).">Sorry! The system printing service
|
||
doesn’t seem to be available.</property>
|
||
<style>
|
||
<class name="dim-label"/>
|
||
</style>
|
||
<attributes>
|
||
<attribute name="scale" value="1.2"/>
|
||
</attributes>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">True</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">1</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkImage">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="valign">start</property>
|
||
<property name="pixel_size">72</property>
|
||
<property name="icon_name">computer-fail-symbolic</property>
|
||
<style>
|
||
<class name="dim-label"/>
|
||
</style>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">True</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">0</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="name">no-cups-page</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
<object class="GtkSizeGroup" id="sizegroup1">
|
||
<widgets>
|
||
<widget name="back-button-1"/>
|
||
<widget name="back-spacer-label-1"/>
|
||
</widgets>
|
||
</object>
|
||
<object class="GtkSizeGroup" id="sizegroup2">
|
||
<widgets>
|
||
<widget name="back-button-2"/>
|
||
<widget name="back-spacer-label-2"/>
|
||
</widgets>
|
||
</object>
|
||
</interface>
|