[gtk-quartz-engine] Fix background color of GtkTreeView



commit 228f899a4c5232115decd72e51835afbc480757c
Author: Rob Caelers <robc krandor org>
Date:   Wed Jun 3 22:12:44 2009 +0200

    Fix background color of GtkTreeView

 ChangeLog          |    7 ++++++-
 src/quartz-style.c |    3 ++-
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 28229a6..8ec2e38 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
 2009-06-03  Rob Caelers <robc krandor nl>
 
-	* src/quartz-style.c (draw_box): Fix font size for Gtkmm TreeView
+	* src/quartz-style.c (draw_flat_box): Fix background color of TreeView
+	widget.
+
+2009-06-03  Rob Caelers <robc krandor nl>
+
+	* src/quartz-style.c (style_setup_rc_style): Fix font size for Gtkmm TreeView
 	widget (widget is called gtkm__GtkTreeView and was not matched by
 	style rules).
 
diff --git a/src/quartz-style.c b/src/quartz-style.c
index 4190194..bdc787d 100644
--- a/src/quartz-style.c
+++ b/src/quartz-style.c
@@ -1358,7 +1358,8 @@ draw_flat_box (GtkStyle      *style,
       /* We don't want any background, no prelight etc. */
       return;
     }
-  else if (IS_DETAIL (detail, "cell_even") || IS_DETAIL (detail, "cell_odd"))
+  else if (IS_DETAIL (detail, "cell_even") || IS_DETAIL (detail, "cell_odd") ||
+           IS_DETAIL (detail, "cell_even_ruled") || IS_DETAIL (detail, "cell_odd_ruled"))
     {
       /* FIXME: Should draw using HITheme, or get the right selection
        * color.



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