[gnome-control-center] printers: Show computer-fail icon when can not connect to CUPS



commit 7e976baf869577bc8be4ddac1997993facb3e625
Author: Marek Kasik <mkasik redhat com>
Date:   Mon Mar 21 15:50:12 2011 +0100

    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).

 panels/printers/printers.ui |   34 +++++++++++++++++++++++++++++++---
 1 files changed, 31 insertions(+), 3 deletions(-)
---
diff --git a/panels/printers/printers.ui b/panels/printers/printers.ui
index 00419f1..4009ef4 100644
--- a/panels/printers/printers.ui
+++ b/panels/printers/printers.ui
@@ -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">



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]