[gnome-control-center/gnome-3-2] color: Do not use a GtkSeparatorToolItem in the GtkToolbar



commit fe261e086187e97e8b0c6ad87a6e02f435f6298f
Author: Richard Hughes <richard hughsie com>
Date:   Mon Sep 5 10:29:01 2011 +0100

    color: Do not use a GtkSeparatorToolItem in the GtkToolbar
    
    Adwaita now themes these, and a single random row of centered pixels just looks wrong.
    Use an empty GtkLabel to introduce padding without the random pixels.

 panels/color/color.ui |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/panels/color/color.ui b/panels/color/color.ui
index 82a2827..9c2ea05 100644
--- a/panels/color/color.ui
+++ b/panels/color/color.ui
@@ -290,10 +290,16 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkSeparatorToolItem" id="toolbutton2">
+                  <object class="GtkToolItem" id="toolbutton_spacer">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="use_action_appearance">False</property>
+                    <child>
+                      <object class="GtkLabel" id="label_toolbar_padding">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                      </object>
+                    </child>
                   </object>
                   <packing>
                     <property name="expand">True</property>



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