From 23ccf48c28c042a8cb11fecd47196132fc657a7a Mon Sep 17 00:00:00 2001 From: "Julien \"_FrnchFrgg_\" RIVAUD" Date: Sat, 20 Aug 2016 00:25:22 +0200 Subject: Fix colors of disabled spin buttons (and maybe others) The insensitive state should not get a base color that's the same as the enabled one, or the difference is not visible enough (only the text color changes). In fact, since the goal of the entry modifications is to aid visibility during user input, there is no reason to override the insensitive colors. Just inherit the insensitive colors of the global style. Also fix a comment that was attached to the wrong declaration. --- gtk2_ardour/clearlooks.rc.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gtk2_ardour/clearlooks.rc.in b/gtk2_ardour/clearlooks.rc.in index 072d12452b..d1212515ef 100644 --- a/gtk2_ardour/clearlooks.rc.in +++ b/gtk2_ardour/clearlooks.rc.in @@ -127,8 +127,8 @@ style "default" = "medium_text" text[NORMAL] = @texts text[PRELIGHT] = @texts - text[ACTIVE] = @fg_selected - text[INSENSITIVE] = shade(0.7, @lightest) /* text color for focused selected text */ + text[INSENSITIVE] = shade(0.7, @lightest) + text[ACTIVE] = @fg_selected /* text color for focused selected text */ text[SELECTED] = @fg_selected /* text color for non-focused selected text */ #engine specific tweaks @@ -151,13 +151,11 @@ style "entry" base[NORMAL] = @bases base[PRELIGHT] = @bases - base[INSENSITIVE] = @bases base[ACTIVE] = @bases base[SELECTED] = @bg_selected text[NORMAL] = @texts text[PRELIGHT] = @texts - text[INSENSITIVE] = shade (0.92, @texts) text[ACTIVE] = @texts text[SELECTED] = @fg_selected } -- cgit v1.2.3