[Sugar-devel] [PATCH sugar-artwork] Set background color to GtkTreeView - SL #3962

Manuel Quiñones manuq at laptop.org
Wed Sep 26 15:58:42 EDT 2012


This makes the treeview header get the same style as in GTK+2.  The
background is the same color as the header button, so looks a
rectagular area.  And a white round border is visible when the button
is active.

Signed-off-by: Manuel Quiñones <manuq at laptop.org>
---
 gtk3/theme/gtk-widgets.css.em | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index 062acbe..8421c1c 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -214,6 +214,10 @@ GtkToggleButton.button:active {
     color: @black;
 }
 
+GtkTreeView {
+    background-color: @button_grey;
+}
+
 GtkTreeView row:nth-child(even) {
     background-color: @row_even;
 }
-- 
1.7.11.4



More information about the Sugar-devel mailing list