diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 14:36:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 14:36:24 +0000 |
commit | 9b6d8e63db85c30007b463e91f91a791969fa83f (patch) | |
tree | 0899af51d73c1bf986f73ae39a03c4436083018a /panels/printers/printers.ui | |
parent | Initial commit. (diff) | |
download | gnome-control-center-9b6d8e63db85c30007b463e91f91a791969fa83f.tar.xz gnome-control-center-9b6d8e63db85c30007b463e91f91a791969fa83f.zip |
Adding upstream version 1:3.38.4.upstream/1%3.38.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'panels/printers/printers.ui')
-rw-r--r-- | panels/printers/printers.ui | 288 |
1 files changed, 288 insertions, 0 deletions
diff --git a/panels/printers/printers.ui b/panels/printers/printers.ui new file mode 100644 index 0000000..d8f8af2 --- /dev/null +++ b/panels/printers/printers.ui @@ -0,0 +1,288 @@ +<?xml version="1.0"?> +<interface> + <requires lib="gtk+" version="3.12"/> + <object class="GtkBox" id="top-right-buttons"> + <property name="visible">True</property> + <property name="spacing">6</property> + <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> + </child> + <child> + <object class="GtkToggleButton" id="search-button"> + <property name="visible">True</property> + <property name="margin-end">6</property> <!-- since we don't have access to the shell header bar --> + <style> + <class name="image-button"/> + </style> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon_name">system-search-symbolic</property> + </object> + </child> + </object> + </child> + </object> + +<object class="GtkOverlay" id="overlay"> + <property name="visible">True</property> + <child type="overlay"> + <object class="GtkRevealer" id="notification"> + <property name="visible">True</property> + <property name="halign">GTK_ALIGN_CENTER</property> + <property name="valign">GTK_ALIGN_START</property> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="spacing">6</property> + <style> + <class name="app-notification"/> + </style> + <child> + <object class="GtkLabel" id="notification-label"> + <property name="visible">True</property> + <property name="wrap">True</property> + <property name="max_width_chars">50</property> + </object> + </child> + <child> + <object class="GtkButton" id="notification-undo-button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="valign">GTK_ALIGN_CENTER</property> + <property name="label" translatable="yes" comments="Translators: This is the button which allows undoing the removal of the printer.">Undo</property> + </object> + </child> + <child> + <object class="GtkButton" id="notification-dismiss-button"> + <property name="visible">True</property> + <property name="valign">GTK_ALIGN_CENTER</property> + <style> + <class name="flat"/> + </style> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon_name">window-close-symbolic</property> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + <child> + +<object class="GtkBox"> + <property name="visible">True</property> + <property name="orientation">GTK_ORIENTATION_VERTICAL</property> + <child> + <object class="CcPermissionInfobar" id="permission-infobar"> + <property name="visible">True</property> + </object> + </child> + <child> + + <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="GtkBox"> + <property name="visible">True</property> + <property name="orientation">GTK_ORIENTATION_VERTICAL</property> + <child> + <object class="GtkSearchBar" id="search-bar"> + <property name="visible">True</property> + <property name="hexpand">True</property> + <property name="search_mode_enabled" bind-source="search-button" bind-property="active" bind-flags="bidirectional" /> + <child> + <object class="GtkSearchEntry" id="search-entry"> + <property name="visible">True</property> + <property name="width_chars">30</property> + </object> + </child> + </object> + </child> + <child> + <object class="GtkScrolledWindow" id="scrolled-window"> + <property name="visible">True</property> + <property name="hscrollbar-policy">GTK_POLICY_NEVER</property> + <property name="min-content-height">490</property> + <property name="vexpand">True</property> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <child> + <object class="GtkListBox" id="content"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="selection-mode">GTK_SELECTION_NONE</property> + <property name="margin-top">32</property> + <property name="margin-bottom">32</property> + <style> + <class name="background"/> + </style> + </object> + </child> + </object> + </child> + </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">80</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">80</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> +</child> +</object> + + </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> |