[gnome-control-center] printers: Update "No Printers Found" page in "Add Printers" dialog



commit 9eedd9fce813671cd194145501b029fb6dd68114
Author: Felipe Borges <felipeborges gnome org>
Date:   Fri Sep 2 13:30:15 2016 +0200

    printers: Update "No Printers Found" page in "Add Printers" dialog
    
    This is a redesign based on the newest mockups available at
    https://wiki.gnome.org/Design/SystemSettings/Printers#Guidelines
    
    https://bugzilla.gnome.org/show_bug.cgi?id=760783

 panels/printers/new-printer-dialog.ui |   28 +++++++++++++++++++++++++---
 1 files changed, 25 insertions(+), 3 deletions(-)
---
diff --git a/panels/printers/new-printer-dialog.ui b/panels/printers/new-printer-dialog.ui
index f9ea7c7..dc1f261 100644
--- a/panels/printers/new-printer-dialog.ui
+++ b/panels/printers/new-printer-dialog.ui
@@ -105,6 +105,9 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="transition-type">none</property>
+                <style>
+                  <class name="view"/>
+                </style>
                 <child>
                   <object class="GtkScrolledWindow" id="scrolledwindow1">
                     <property name="visible">True</property>
@@ -127,16 +130,35 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkFrame" id="frame1">
+                  <object class="GtkBox">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
-                    <property name="shadow_type">in</property>
+                    <property name="orientation">GTK_ORIENTATION_VERTICAL</property>
+                    <property name="valign">GTK_ALIGN_CENTER</property>
+                    <property name="spacing">10</property>
+                    <child>
+                      <object class="GtkImage">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="valign">GTK_ALIGN_START</property>
+                        <property name="pixel_size">72</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" id="no-devices-label">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
                         <property name="sensitive">False</property>
-                        <property name="label" translatable="yes" comments="Translators: No printers were 
found">No printers detected.</property>
+                        <property name="label" translatable="yes" comments="Translators: No printers were 
detected">No Printers Found</property>
                         <attributes>
                           <attribute name="weight" value="bold"/>
                         </attributes>


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