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



commit bd4fcd5706b2bc20c2bf62e33be5c769153512fb
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 751bce2..2024978 100644
--- a/panels/printers/new-printer-dialog.ui
+++ b/panels/printers/new-printer-dialog.ui
@@ -148,14 +148,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]