2012-09-03 21:25:59 +02:00
<?xml version="1.0" encoding="UTF-8"?>
2011-03-07 17:09:00 +01:00
<interface>
2015-05-28 16:44:39 +02:00
<requires lib="gtk+" version="3.14"/>
2013-05-15 15:08:32 +02:00
<object class="GtkListStore" id="devices-liststore">
<columns>
2013-09-02 14:37:11 +02:00
<!-- column-name device_gicon -->
<column type="GIcon"/>
2013-05-15 15:08:32 +02:00
<!-- column-name device_name -->
<column type="gchararray"/>
<!-- column-name device_display_name -->
<column type="gchararray"/>
2014-02-26 11:20:02 +01:00
<!-- column-name device_description -->
<column type="gchararray"/>
2013-09-03 18:18:56 +02:00
<!-- column-name server_needs_authentication -->
<column type="gboolean"/>
2015-08-03 16:53:51 +02:00
<!-- column-name device_visible -->
<column type="gboolean"/>
<!-- column-name device -->
<column type="PpPrintDevice"/>
2013-05-15 15:08:32 +02:00
</columns>
</object>
2015-08-03 16:53:51 +02:00
<object class="GtkTreeModelFilter" id="devices-model-filter">
<property name="child_model">devices-liststore</property>
</object>
2011-03-07 17:09:00 +01:00
<object class="GtkDialog" id="dialog">
2017-02-07 10:17:30 +01:00
<property name="width_request">480</property>
<property name="height_request">490</property>
2012-09-03 21:25:59 +02:00
<property name="can_focus">False</property>
2016-09-02 13:04:01 +02:00
<property name="title" translatable="yes" comments="Translators: This is the title presented at top of the dialog.">Add Printer</property>
2011-03-07 17:09:00 +01:00
<property name="resizable">False</property>
2012-09-03 21:25:59 +02:00
<property name="modal">True</property>
<property name="destroy_with_parent">True</property>
<property name="type_hint">dialog</property>
2016-09-02 13:02:22 +02:00
<property name="use_header_bar">1</property>
<child internal-child="headerbar">
2016-09-02 14:00:37 +02:00
<object class="GtkHeaderBar" id="headerbar">
2011-03-07 17:09:00 +01:00
<property name="visible">True</property>
2016-09-02 13:02:22 +02:00
<property name="show-close-button">False</property>
<child>
2016-11-12 18:04:18 +01:00
<object class="GtkStack" id="headerbar-topleft-buttons">
2016-09-02 13:02:22 +02:00
<property name="visible">True</property>
2016-11-12 18:04:18 +01:00
<property name="valign">center</property>
<child>
<object class="GtkButton" id="new-printer-cancel-button">
<property name="label" translatable="yes">_Cancel</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="name">addprinter-page</property>
</packing>
</child>
<child>
<object class="GtkButton" id="go-back-button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="halign">start</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon-name">go-previous-symbolic</property>
</object>
</child>
</object>
<packing>
<property name="name">authentication-page</property>
</packing>
</child>
2016-09-02 13:02:22 +02:00
</object>
</child>
<child>
<object class="GtkStack" id="headerbar-topright-buttons">
2011-03-07 17:09:00 +01:00
<property name="visible">True</property>
2016-11-12 18:04:18 +01:00
<property name="valign">center</property>
2011-03-07 17:09:00 +01:00
<child>
2016-09-02 13:02:22 +02:00
<object class="GtkButton" id="new-printer-add-button">
<property name="label" translatable="yes">_Add</property>
2011-03-07 17:09:00 +01:00
<property name="visible">True</property>
2016-09-02 13:02:22 +02:00
<property name="sensitive">False</property>
2012-09-03 21:25:59 +02:00
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_underline">True</property>
2016-09-02 13:02:22 +02:00
<style>
<class name="suggested-action"/>
</style>
2011-03-07 17:09:00 +01:00
</object>
<packing>
2016-11-10 13:55:07 +01:00
<property name="name">addprinter-page</property>
2011-03-07 17:09:00 +01:00
</packing>
</child>
<child>
2016-09-02 13:02:22 +02:00
<object class="GtkButton" id="unlock-button">
<property name="label" translatable="yes" comments="Translators: This button opens authentication dialog for selected server.">_Unlock</property>
2011-03-07 17:09:00 +01:00
<property name="visible">True</property>
2016-09-02 13:02:22 +02:00
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_underline">True</property>
<style>
<class name="suggested-action"/>
</style>
2012-09-03 21:25:59 +02:00
</object>
<packing>
2016-09-02 13:02:22 +02:00
<property name="name">unlock-button</property>
2012-09-03 21:25:59 +02:00
</packing>
</child>
2016-11-10 13:55:07 +01:00
<child>
<object class="GtkButton" id="authenticate-button">
<property name="label" translatable="yes" comments="Translators: This buttons submits the credentials for the selected server.">_Unlock</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="has_default">True</property>
<property name="receives_default">True</property>
<property name="use_underline">True</property>
<style>
<class name="suggested-action"/>
</style>
</object>
<packing>
<property name="name">authentication-page</property>
</packing>
</child>
2012-09-03 21:25:59 +02:00
</object>
<packing>
2016-09-02 13:02:22 +02:00
<property name="pack-type">GTK_PACK_END</property>
2012-09-03 21:25:59 +02:00
</packing>
</child>
2016-09-02 13:02:22 +02:00
</object>
</child>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">10</property>
2016-09-02 13:16:15 +02:00
<property name="border_width">0</property>
2012-09-03 21:25:59 +02:00
<child>
2016-11-10 13:55:07 +01:00
<object class="GtkStack" id="dialog-stack">
2012-09-03 21:25:59 +02:00
<property name="visible">True</property>
2016-11-10 13:55:07 +01:00
<property name="border_width">0</property>
2012-09-03 21:25:59 +02:00
<child>
2016-11-10 13:55:07 +01:00
<object class="GtkBox" id="box2">
2012-09-03 21:25:59 +02:00
<property name="visible">True</property>
2016-11-10 13:55:07 +01:00
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
2011-03-07 17:09:00 +01:00
<child>
2016-11-10 13:55:07 +01:00
<object class="GtkStack" id="stack">
2011-03-07 17:09:00 +01:00
<property name="visible">True</property>
2016-11-10 13:55:07 +01:00
<property name="can_focus">True</property>
<property name="transition-type">none</property>
<style>
<class name="view"/>
</style>
2013-02-11 13:44:03 +01:00
<child>
2016-11-10 13:55:07 +01:00
<object class="GtkScrolledWindow" id="scrolledwindow1">
2013-02-11 13:44:03 +01:00
<property name="visible">True</property>
2016-11-10 13:55:07 +01:00
<property name="can_focus">False</property>
<child>
<object class="GtkTreeView" id="devices-treeview">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="model">devices-model-filter</property>
<property name="headers_visible">False</property>
<property name="enable-grid-lines">GTK_TREE_VIEW_GRID_LINES_HORIZONTAL</property>
<child internal-child="selection">
<object class="GtkTreeSelection" id="treeview-selection"/>
</child>
</object>
2013-02-11 13:44:03 +01:00
</child>
</object>
2016-11-10 13:55:07 +01:00
<packing>
<property name="name">standard-page</property>
</packing>
2013-02-11 13:44:03 +01:00
</child>
2016-09-02 13:30:15 +02:00
<child>
2016-11-10 13:55:07 +01:00
<object class="GtkBox">
2016-09-02 13:30:15 +02:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2016-11-10 13:55:07 +01:00
<property name="orientation">GTK_ORIENTATION_VERTICAL</property>
<property name="valign">GTK_ALIGN_CENTER</property>
<property name="spacing">10</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">GTK_ALIGN_START</property>
<property name="pixel_size">72</property>
<property name="icon_name">printer-symbolic</property>
<property name="opacity">0.6</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" id="no-devices-label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="sensitive">False</property>
<property name="label" translatable="yes" comments="Translators: No printers were detected">No Printers Found</property>
<property name="opacity">0.6</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
</child>
2016-09-02 13:30:15 +02:00
</object>
<packing>
2016-11-10 13:55:07 +01:00
<property name="name">no-printers-page</property>
2016-09-02 13:30:15 +02:00
</packing>
</child>
2015-05-26 11:43:08 +02:00
<child>
2016-11-10 13:55:07 +01:00
<object class="GtkBox">
2015-05-26 11:43:08 +02:00
<property name="visible">True</property>
2016-11-10 13:55:07 +01:00
<style>
<class name="view"/>
</style>
<child>
<object class="GtkSpinner" id="spinner">
<property name="visible">True</property>
<property name="active">True</property>
<property name="expand">True</property>
<property name="sensitive">False</property>
<property name="opacity">0.6</property>
</object>
</child>
2015-05-26 11:43:08 +02:00
</object>
2016-11-10 13:55:07 +01:00
<packing>
<property name="name">loading-page</property>
</packing>
2015-05-26 11:43:08 +02:00
</child>
2014-11-25 11:57:00 +01:00
</object>
<packing>
2016-11-10 13:55:07 +01:00
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
</object>
<packing>
<property name="position">1</property>
2014-11-25 11:57:00 +01:00
</packing>
</child>
2016-09-02 14:00:37 +02:00
<child>
2016-11-10 13:55:07 +01:00
<object class="GtkToolbar" id="toolbar1">
2016-09-02 14:00:37 +02:00
<property name="visible">True</property>
2016-11-10 13:55:07 +01:00
<property name="can_focus">False</property>
<property name="toolbar_style">icons</property>
<property name="icon_size">1</property>
2016-09-02 14:00:37 +02:00
<style>
2016-11-10 13:55:07 +01:00
<class name="toolbar"/>
2016-09-02 14:00:37 +02:00
</style>
<child>
2016-11-10 13:55:07 +01:00
<object class="GtkToolItem" id="toolbutton1">
2016-09-02 14:00:37 +02:00
<property name="visible">True</property>
2016-11-10 13:55:07 +01:00
<property name="can_focus">False</property>
<child>
<object class="GtkBox" id="box1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="border_width">4</property>
<child>
<object class="GtkSearchEntry" id="search-entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_tooltip">True</property>
<property name="invisible_char">●</property>
<property name="truncate_multiline">True</property>
<property name="invisible_char_set">True</property>
<property name="placeholder_text" translatable="yes" comments="Translators: The entered text should contain network address of a printer or a text which will filter found devices (their names and locations)">Enter a network address or search for a printer</property>
<property name="margin_start">40</property>
<property name="margin_end">40</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
2016-09-02 14:00:37 +02:00
</object>
2016-11-10 13:55:07 +01:00
<packing>
<property name="expand">True</property>
<property name="homogeneous">True</property>
</packing>
2016-09-02 14:00:37 +02:00
</child>
</object>
<packing>
2016-11-10 13:55:07 +01:00
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
2016-09-02 14:00:37 +02:00
</packing>
</child>
2014-11-25 11:57:00 +01:00
</object>
<packing>
2016-11-10 13:55:07 +01:00
<property name="name">addprinter-page</property>
2016-09-02 13:16:15 +02:00
</packing>
</child>
2014-11-25 11:57:00 +01:00
<child>
2016-11-10 13:55:07 +01:00
<object class="GtkGrid">
2014-11-25 11:57:00 +01:00
<property name="visible">True</property>
2016-11-10 13:55:07 +01:00
<property name="margin">20</property>
<property name="row_spacing">10</property>
<property name="column_spacing">15</property>
<property name="expand">True</property>
2014-11-25 11:57:00 +01:00
<style>
2016-11-10 13:55:07 +01:00
<class name="background"/>
2014-11-25 11:57:00 +01:00
</style>
<child>
2016-11-10 13:55:07 +01:00
<object class="GtkImage">
<property name="pixel_size">48</property>
<property name="icon_name">dialog-password-symbolic</property>
2011-03-07 17:09:00 +01:00
</object>
<packing>
2016-11-10 13:55:07 +01:00
<property name="left_attach">0</property>
<property name="top_attach">0</property>
<property name="height">2</property>
</packing>
</child>
<child>
2016-11-12 18:41:23 +01:00
<object class="GtkLabel" id="authentication-title">
2016-11-10 13:55:07 +01:00
<property name="label" translatable="yes">Authentication Required</property>
<property name="xalign">0</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="authentication-text">
<property name="wrap">True</property>
<property name="max_width_chars">36</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Enter username and password to view printers on Print Server.</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Username</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">2</property>
</packing>
</child>
<child>
<object class="GtkEntry" id="username-entry">
<property name="can_focus">True</property>
<property name="invisible_char">●</property>
<property name="activates_default">True</property>
<property name="hexpand">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">2</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Password</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">3</property>
</packing>
</child>
<child>
<object class="GtkEntry" id="password-entry">
<property name="can_focus">True</property>
<property name="visibility">False</property>
<property name="invisible_char">●</property>
<property name="activates_default">True</property>
<property name="hexpand">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">3</property>
2011-03-07 17:09:00 +01:00
</packing>
</child>
</object>
2014-11-25 11:57:00 +01:00
<packing>
2016-11-10 13:55:07 +01:00
<property name="name">authentication-page</property>
2014-11-25 11:57:00 +01:00
</packing>
2011-03-07 17:09:00 +01:00
</child>
</object>
</child>
</object>
</child>
<action-widgets>
2012-09-03 21:25:59 +02:00
<action-widget response="-6">new-printer-cancel-button</action-widget>
<action-widget response="-5">new-printer-add-button</action-widget>
2011-03-07 17:09:00 +01:00
</action-widgets>
</object>
2016-09-02 13:02:22 +02:00
<object class="GtkSizeGroup">
<widgets>
<widget name="new-printer-cancel-button"/>
<widget name="headerbar-topright-buttons"/>
</widgets>
</object>
2011-03-07 17:09:00 +01:00
</interface>