disable even/odd row highlight for GtKTreeview.
authorRobin Gareus <robin@gareus.org>
Wed, 16 Sep 2015 16:07:23 +0000 (18:07 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 16 Sep 2015 16:24:57 +0000 (18:24 +0200)
Almost all TreeViews in Ardour had this disabled.
A few cases where it wasn't produced odd rendering artifacts. e.g.:

* Radio-buttons in the Plugin Manager used "base color" regardless of even/odd lines
* Sortable trees only used even/odd background for the sort-column (not others)

gtk2_ardour/clearlooks.rc.in

index 67c9a9afe4f87e4737e9d4121da74b83ef9d2292..973110908bc8a017f7f46a3edc0dcccda92ef713 100644 (file)
@@ -6,8 +6,8 @@ style "default" = "medium_text"
 
   GtkTreeView::vertical-padding = 0
   GtkTreeView::horizontal-padding = 0
-  GtkTreeView::even-row-color = shade(0.25,@bases)
-  GtkTreeView::odd-row-color = lighter(lighter(@bases))
+  GtkTreeView::even-row-color = @bases
+  GtkTreeView::odd-row-color = @bases
   
   GtkWidget           :: focus-line-pattern               = "\001\001"        #                              Dash pattern used to draw the focus indicator.
   GtkWidget           :: focus-line-width                 = 1                 # [               1 ] ( >= 0 ) Width, in pixels, of the focus indicator line.