[gnome-control-center/wip/feborges/new-printers-panel: 2/5] printers: enforce the empty-state patterns



commit f2ac5a83ae82d58cd2e08497e7f0ca0fc94c8e9a
Author: Felipe Borges <felipeborges gnome org>
Date:   Wed Jun 8 16:36:57 2016 +0200

    printers: enforce the empty-state patterns
    
    https://bugzilla.gnome.org/show_bug.cgi?id=767600

 panels/printers/printers.ui |   23 ++++++++++++++++-------
 1 files changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/panels/printers/printers.ui b/panels/printers/printers.ui
index f887115..719d920 100644
--- a/panels/printers/printers.ui
+++ b/panels/printers/printers.ui
@@ -573,12 +573,12 @@
         <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="weight" value="bold"/>
               <attribute name="scale" value="1.2"/>
             </attributes>
           </object>
@@ -613,20 +613,26 @@
       <object class="GtkBox">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
-        <property name="spacing">20</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="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>
+            <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">0</property>
+            <property name="position">1</property>
           </packing>
         </child>
         <child>
@@ -634,13 +640,16 @@ doesn't seem to be available.</property>
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="valign">start</property>
-            <property name="pixel_size">64</property>
-            <property name="icon_name">computer-fail</property>
+            <property name="pixel_size">72</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">1</property>
+            <property name="position">0</property>
           </packing>
         </child>
       </object>


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