Make it possible for panels to go all the way to the edge of the shell. This is particularly important for panels that scroll, such as the new power panel. All other panels are changed to compensate for the loss of external padding. https://bugzilla.gnome.org/show_bug.cgi?id=691229
636 lines
32 KiB
XML
636 lines
32 KiB
XML
<?xml version="1.0"?>
|
|
<interface>
|
|
<requires lib="gtk+" version="2.20"/>
|
|
<!-- interface-naming-policy project-wide -->
|
|
<object class="GtkVBox" id="main-vbox">
|
|
<property name="border_width">10</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">10</property>
|
|
<property name="margin-left">6</property>
|
|
<property name="margin-right">6</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="margin-bottom">6</property>
|
|
<child>
|
|
<object class="GtkHBox" id="hbox1">
|
|
<property name="visible">True</property>
|
|
<property name="spacing">10</property>
|
|
<child>
|
|
<object class="GtkVBox" id="vbox4">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow" id="printers-scrolledwindow">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="hscrollbar_policy">never</property>
|
|
<property name="vscrollbar_policy">automatic</property>
|
|
<property name="shadow_type">in</property>
|
|
<child>
|
|
<object class="GtkTreeView" id="printers-treeview">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="headers_visible">False</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkToolbar" id="printers-toolbar">
|
|
<property name="visible">True</property>
|
|
<property name="icon_size">1</property>
|
|
<property name="icon_size_set">True</property>
|
|
<property name="toolbar-style">icons</property>
|
|
<style>
|
|
<class name="inline-toolbar"/>
|
|
</style>
|
|
<child>
|
|
<object class="GtkToolButton" id="printer-add-button">
|
|
<property name="visible">True</property>
|
|
<property name="sensitive">True</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="icon_name">list-add-symbolic</property>
|
|
<property name="label" translatable="yes">Add Printer</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="homogeneous">True</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkToolButton" id="printer-remove-button">
|
|
<property name="visible">True</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="icon_name">list-remove-symbolic</property>
|
|
<property name="label" translatable="yes">Remove Printer</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="homogeneous">True</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkNotebook" id="notebook">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="show_tabs">False</property>
|
|
<property name="show_border">False</property>
|
|
<child>
|
|
<object class="GtkVBox" id="vbox1">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">10</property>
|
|
<child>
|
|
<object class="GtkTable" id="table1">
|
|
<property name="visible">True</property>
|
|
<property name="n_rows">8</property>
|
|
<property name="n_columns">3</property>
|
|
<property name="column_spacing">18</property>
|
|
<property name="row_spacing">10</property>
|
|
<child>
|
|
<object class="GtkLabel" id="supply-label">
|
|
<property name="visible">True</property>
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes" comments="Translators: By supply we mean ink, toner, staples, water, ...">Supply</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="top_attach">5</property>
|
|
<property name="bottom_attach">6</property>
|
|
<property name="x_options">GTK_FILL</property>
|
|
<property name="y_options">GTK_FILL</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label10">
|
|
<property name="visible">True</property>
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes" comments="Translators: Location of the printer (e.g. Lab, 1st floor,...).">Location</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="top_attach">2</property>
|
|
<property name="bottom_attach">3</property>
|
|
<property name="x_options">GTK_FILL</property>
|
|
<property name="y_options">GTK_FILL</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkDrawingArea" id="supply-drawing-area">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="right_attach">3</property>
|
|
<property name="top_attach">5</property>
|
|
<property name="bottom_attach">6</property>
|
|
<property name="y_options">GTK_FILL</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="CcEditableEntry" id="printer-location-label">
|
|
<property name="visible">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="text">---</property>
|
|
<accessibility>
|
|
<relation type="labelled-by" target="label10"/>
|
|
</accessibility>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="right_attach">3</property>
|
|
<property name="top_attach">2</property>
|
|
<property name="bottom_attach">3</property>
|
|
<property name="y_options">GTK_FILL</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="CcEditableEntry" id="printer-status-label">
|
|
<property name="visible">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="yalign">0</property>
|
|
<property name="text">Printing…</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="right_attach">2</property>
|
|
<property name="top_attach">1</property>
|
|
<property name="bottom_attach">2</property>
|
|
<property name="y_options">GTK_FILL</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCheckButton" id="printer-default-check-button">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="draw_indicator">True</property>
|
|
<child>
|
|
<object class="GtkLabel" id="label8">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes" comments="Translators: This checkbox is checked when the default printer is selected.">_Default</property>
|
|
<property name="use_underline">True</property>
|
|
<attributes>
|
|
<attribute name="style" value="normal"/>
|
|
</attributes>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">7</property>
|
|
<property name="bottom_attach">8</property>
|
|
<property name="y_options">GTK_FILL</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label12">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes"></property>
|
|
</object>
|
|
<packing>
|
|
<property name="top_attach">7</property>
|
|
<property name="bottom_attach">8</property>
|
|
<property name="x_options">GTK_FILL</property>
|
|
<property name="y_options">GTK_FILL</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label3">
|
|
<property name="visible">True</property>
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">Jobs</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="top_attach">6</property>
|
|
<property name="bottom_attach">7</property>
|
|
<property name="x_options">GTK_FILL</property>
|
|
<property name="y_options"></property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="CcEditableEntry" id="printer-jobs-label">
|
|
<property name="visible">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="text" translatable="no">0 active</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">6</property>
|
|
<property name="bottom_attach">7</property>
|
|
<property name="y_options">GTK_FILL</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="printer-jobs-button">
|
|
<property name="label" translatable="yes" comments="Translators: Opens a dialog containing printer's jobs">Show _Jobs</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="halign">GTK_ALIGN_END</property>
|
|
<property name="valign">GTK_ALIGN_CENTER</property>
|
|
<accessibility>
|
|
<relation type="labelled-by" target="label3"/>
|
|
<relation type="labelled-by" target="printer-jobs-label"/>
|
|
</accessibility>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">2</property>
|
|
<property name="right_attach">3</property>
|
|
<property name="top_attach">6</property>
|
|
<property name="bottom_attach">7</property>
|
|
<property name="x_options">GTK_FILL</property>
|
|
<property name="y_options">GTK_FILL</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="CcEditableEntry" id="printer-name-label">
|
|
<property name="visible">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="yalign">1</property>
|
|
<property name="text">Printer</property>
|
|
<property name="weight">700</property>
|
|
<property name="scale">1.2</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="right_attach">2</property>
|
|
<property name="y_options">GTK_FILL</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkImage" id="printer-icon">
|
|
<property name="visible">True</property>
|
|
<property name="xalign">1</property>
|
|
<property name="pixel_size">64</property>
|
|
<property name="icon_name">printer</property>
|
|
</object>
|
|
<packing>
|
|
<property name="bottom_attach">2</property>
|
|
<property name="x_options">GTK_FILL</property>
|
|
<property name="y_options">GTK_FILL</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label14">
|
|
<property name="visible">True</property>
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">Model</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="top_attach">3</property>
|
|
<property name="bottom_attach">4</property>
|
|
<property name="x_options">GTK_FILL</property>
|
|
<property name="y_options">GTK_FILL</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label15">
|
|
<property name="visible">True</property>
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">IP Address</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="top_attach">4</property>
|
|
<property name="bottom_attach">5</property>
|
|
<property name="x_options">GTK_FILL</property>
|
|
<property name="y_options">GTK_FILL</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkNotebook" id="printer-model-notebook">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="show_tabs">False</property>
|
|
<child>
|
|
<object class="GtkButton" id="printer-model-button">
|
|
<property name="use_action_appearance">False</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<property name="use_action_appearance">False</property>
|
|
<property name="relief">none</property>
|
|
<property name="xalign">0</property>
|
|
<accessibility>
|
|
<relation type="labelled-by" target="label14"/>
|
|
</accessibility>
|
|
</object>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel" id="label7">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes">page 1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="tab_fill">False</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="printer-model-label">
|
|
<property name="visible">True</property>
|
|
<property name="selectable">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="xalign">0</property>
|
|
<property name="label" translatable="yes">label</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel" id="label13">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes">page 2</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
<property name="tab_fill">False</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label17">
|
|
<property name="visible">True</property>
|
|
<property name="sensitive">False</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="xalign">0</property>
|
|
<property name="xpad">10</property>
|
|
<property name="label" translatable="yes">Setting new driver…</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel" id="label16">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes">page 3</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">2</property>
|
|
<property name="tab_fill">False</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="right_attach">3</property>
|
|
<property name="top_attach">3</property>
|
|
<property name="bottom_attach">4</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="CcEditableEntry" id="printer-ip-address-label">
|
|
<property name="visible">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="text">---</property>
|
|
<accessibility>
|
|
<relation type="labelled-by" target="label15"/>
|
|
</accessibility>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">4</property>
|
|
<property name="bottom_attach">5</property>
|
|
<property name="y_options">GTK_FILL</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSwitch" id="printer-disable-switch">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<property name="halign">GTK_ALIGN_END</property>
|
|
<property name="valign">GTK_ALIGN_CENTER</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">2</property>
|
|
<property name="right_attach">3</property>
|
|
<property name="bottom_attach">2</property>
|
|
<property name="x_options">GTK_FILL</property>
|
|
<property name="y_options">GTK_FILL</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label18">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">2</property>
|
|
<property name="right_attach">3</property>
|
|
<property name="top_attach">4</property>
|
|
<property name="bottom_attach">5</property>
|
|
<property name="x_options">0</property>
|
|
<property name="y_options">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label20">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">2</property>
|
|
<property name="right_attach">3</property>
|
|
<property name="top_attach">7</property>
|
|
<property name="bottom_attach">8</property>
|
|
<property name="x_options">0</property>
|
|
<property name="y_options">0</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkHButtonBox" id="hbuttonbox1">
|
|
<property name="visible">True</property>
|
|
<property name="spacing">5</property>
|
|
<property name="homogeneous">True</property>
|
|
<child>
|
|
<object class="GtkButton" id="print-test-page-button">
|
|
<property name="label" translatable="yes" comments="Translators: This button executes command which prints test page.">Print _Test Page</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">False</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="printer-options-button">
|
|
<property name="label" translatable="yes" comments="Translators: This button opens printer's options tab">_Options</property>
|
|
<property name="visible">True</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">False</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="pack_type">end</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="tab_expand">True</property>
|
|
</packing>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel" id="label2">
|
|
<property name="visible">True</property>
|
|
<property name="label">Info</property>
|
|
</object>
|
|
<packing>
|
|
<property name="tab_fill">False</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkHButtonBox" id="hbuttonbox2">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkButton" id="printer-add-button2">
|
|
<property name="label" translatable="yes" comments="Translators: This button adds new printer.">Add New Printer</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">False</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel" id="label21">
|
|
<property name="visible">True</property>
|
|
<property name="label">No printers</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
<property name="tab_fill">False</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkVBox" id="vbox7">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="spacing">20</property>
|
|
<child>
|
|
<object class="GtkLabel" id="no-cups-label">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="yalign">1</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>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkImage" id="image1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="yalign">0</property>
|
|
<property name="pixel_size">64</property>
|
|
<property name="icon_name">computer-fail</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel" id="label9">
|
|
<property name="visible">True</property>
|
|
<property name="label">No cups</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">2</property>
|
|
<property name="tab_fill">False</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</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>
|