From 7e65835c0e4031c084c141c17a4fa7ebcf913a35 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 16 Sep 2015 18:07:23 +0200 Subject: [PATCH] disable even/odd row highlight for GtKTreeview. 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/clearlooks.rc.in b/gtk2_ardour/clearlooks.rc.in index 67c9a9afe4..973110908b 100644 --- a/gtk2_ardour/clearlooks.rc.in +++ b/gtk2_ardour/clearlooks.rc.in @@ -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.