Blame SOURCES/0001-printers-Show-border-around-No-printers-detected-tex.patch

34cf59
From bd4fcd5706b2bc20c2bf62e33be5c769153512fb Mon Sep 17 00:00:00 2001
34cf59
From: Marek Kasik <mkasik@redhat.com>
34cf59
Date: Tue, 26 May 2015 11:43:08 +0200
34cf59
Subject: [PATCH] printers: Show border around 'No printers detected' text
34cf59
34cf59
The GtkStack page which shows the label 'No printers detected' in the
34cf59
'New printer dialog' misses border.
34cf59
This commit places the GtkLabel into a GtkFrame to achieve that.
34cf59
34cf59
https://bugzilla.gnome.org/show_bug.cgi?id=749883
34cf59
---
34cf59
 panels/printers/new-printer-dialog.ui | 19 +++++++++++++------
34cf59
 1 file changed, 13 insertions(+), 6 deletions(-)
34cf59
34cf59
diff --git a/panels/printers/new-printer-dialog.ui b/panels/printers/new-printer-dialog.ui
34cf59
index 751bce2..2024978 100644
34cf59
--- a/panels/printers/new-printer-dialog.ui
34cf59
+++ b/panels/printers/new-printer-dialog.ui
34cf59
@@ -148,14 +148,21 @@
34cf59
                       </packing>
34cf59
                     </child>
34cf59
                     <child>
34cf59
-                      <object class="GtkLabel" id="no-devices-label">
34cf59
+                      <object class="GtkFrame" id="frame1">
34cf59
                         <property name="visible">True</property>
34cf59
                         <property name="can_focus">False</property>
34cf59
-                        <property name="sensitive">False</property>
34cf59
-                        <property name="label" translatable="yes" comments="Translators: No printers were found">No printers detected.</property>
34cf59
-                        <attributes>
34cf59
-                          <attribute name="weight" value="bold"/>
34cf59
-                        </attributes>
34cf59
+                        <property name="shadow_type">in</property>
34cf59
+                        <child>
34cf59
+                          <object class="GtkLabel" id="no-devices-label">
34cf59
+                            <property name="visible">True</property>
34cf59
+                            <property name="can_focus">False</property>
34cf59
+                            <property name="sensitive">False</property>
34cf59
+                            <property name="label" translatable="yes" comments="Translators: No printers were found">No printers detected.</property>
34cf59
+                            <attributes>
34cf59
+                              <attribute name="weight" value="bold"/>
34cf59
+                            </attributes>
34cf59
+                          </object>
34cf59
+                        </child>
34cf59
                       </object>
34cf59
                       <packing>
34cf59
                         <property name="name">no-printers-page</property>
34cf59
-- 
34cf59
2.4.3
34cf59