[gnome-control-center] sharing: prevent inactive white space below the list box



commit ef77e575712a4cabd132c48e82fd89515e68dcf9
Author: Thomas Wood <thomas wood intel com>
Date:   Tue Jan 15 15:52:04 2013 +0000

    sharing: prevent inactive white space below the list box
    
    Now that GtkFrame paints a background, use it to provide the border and
    background of the list box.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=691771

 panels/sharing/sharing.ui |   16 ++++------------
 1 files changed, 4 insertions(+), 12 deletions(-)
---
diff --git a/panels/sharing/sharing.ui b/panels/sharing/sharing.ui
index 56b7e85..6bfa47f 100644
--- a/panels/sharing/sharing.ui
+++ b/panels/sharing/sharing.ui
@@ -229,19 +229,13 @@
           </packing>
         </child>
         <child>
-          <object class="GtkScrolledWindow" id="scrolledwindow2">
-            <property name="width_request">400</property>
+          <object class="GtkFrame" id="frame1">
             <property name="visible">True</property>
-            <property name="can_focus">True</property>
-            <property name="vexpand">True</property>
-            <property name="vscrollbar_policy">never</property>
+            <property name="can_focus">False</property>
+            <property name="label_xalign">0</property>
             <property name="shadow_type">in</property>
             <child>
-              <object class="GtkViewport" id="viewport1">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <child>
-                  <object class="EggListBox" id="main-list-box">
+              <object class="EggListBox" id="main-list-box">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <child>
@@ -410,8 +404,6 @@
                       </object>
                     </child>
                   </object>
-                </child>
-              </object>
             </child>
           </object>
           <packing>



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