From b5a134d73a41e5d17829e86bf803e243fcdcc4dc Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 20 Jun 2016 00:59:07 +0200 Subject: [PATCH] fix comment-button highlight --- gtk2_ardour/mixer_strip.cc | 8 ++++---- gtk2_ardour/themes/dark-ardour.colors | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index 585012972c..7bc4839940 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -1491,20 +1491,20 @@ MixerStrip::setup_comment_button () case Wide: if (_route->comment().empty ()) { - _comment_button.unset_bg (STATE_NORMAL); + _comment_button.set_name ("generic button"); _comment_button.set_text (_("Comments")); } else { - _comment_button.modify_bg (STATE_NORMAL, color ()); + _comment_button.set_name ("comment button"); _comment_button.set_text (_("*Comments*")); } break; case Narrow: if (_route->comment().empty ()) { - _comment_button.unset_bg (STATE_NORMAL); + _comment_button.set_name ("generic button"); _comment_button.set_text (_("Cmt")); } else { - _comment_button.modify_bg (STATE_NORMAL, color ()); + _comment_button.set_name ("comment button"); _comment_button.set_text (_("*Cmt*")); } break; diff --git a/gtk2_ardour/themes/dark-ardour.colors b/gtk2_ardour/themes/dark-ardour.colors index 7788ad774f..310e71b0e6 100644 --- a/gtk2_ardour/themes/dark-ardour.colors +++ b/gtk2_ardour/themes/dark-ardour.colors @@ -139,6 +139,7 @@ +