diff options
author | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2016-08-20 00:25:22 +0200 |
---|---|---|
committer | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2016-08-20 00:31:19 +0200 |
commit | 23ccf48c28c042a8cb11fecd47196132fc657a7a (patch) | |
tree | fe4a8f2c2bba0e9059134e734b1308fd61c3c3eb /gtk2_ardour/clearlooks.rc.in | |
parent | d1ed84e44e2e4a0cfe893e81a8fa868cce3ca4b3 (diff) |
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.
Diffstat (limited to 'gtk2_ardour/clearlooks.rc.in')
-rw-r--r-- | gtk2_ardour/clearlooks.rc.in | 6 |
1 files 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 } |