[gnome-control-center] color: Do not use a GtkSeparatorToolItem in the GtkToolbar
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] color: Do not use a GtkSeparatorToolItem in the GtkToolbar
- Date: Mon, 5 Sep 2011 09:29:51 +0000 (UTC)
commit f605aeac01968be7cb845c6877fd538784917025
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]