[gnome-control-center/gnome-3-16] printers: Show border around 'No printers detected' text



commit b2f4e7f56e55b414f11aa79815859e5dfb46c0de
Author: Marek Kasik <mkasik redhat com>
Date:   Tue May 26 11:43:08 2015 +0200

    printers: Show border around 'No printers detected' text
    
    The GtkStack page which shows the label 'No printers detected' in the
    'New printer dialog' misses border.
    This commit places the GtkLabel into a GtkFrame to achieve that.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=749883

 panels/printers/new-printer-dialog.ui |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/panels/printers/new-printer-dialog.ui b/panels/printers/new-printer-dialog.ui
index c815cde..91a59f5 100644
--- a/panels/printers/new-printer-dialog.ui
+++ b/panels/printers/new-printer-dialog.ui
@@ -146,14 +146,21 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkLabel" id="no-devices-label">
+                  <object class="GtkFrame" id="frame1">
                     <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>
-                    <attributes>
-                      <attribute name="weight" value="bold"/>
-                    </attributes>
+                    <property name="shadow_type">in</property>
+                    <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>
+                        <attributes>
+                          <attribute name="weight" value="bold"/>
+                        </attributes>
+                      </object>
+                    </child>
                   </object>
                   <packing>
                     <property name="name">no-printers-page</property>


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