printers: Show computer-fail icon when can not connect to CUPS

Show "computer-fail" under the text "Sorry! The system printing
service doesn't seem to be available." if we can not connect to
CUPS server (#641421).
This commit is contained in:
Marek Kasik 2011-03-21 15:50:12 +01:00
parent 1e53d76bc0
commit 7e976baf86

View file

@ -794,13 +794,41 @@
</packing>
</child>
<child>
<object class="GtkLabel" id="no-cups-label">
<object class="GtkVBox" id="vbox7">
<property name="visible">True</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
<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">4</property>
<property name="position">5</property>
</packing>
</child>
<child type="tab">