summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_strip.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-06-20 00:59:07 +0200
committerRobin Gareus <robin@gareus.org>2016-06-20 00:59:21 +0200
commitb5a134d73a41e5d17829e86bf803e243fcdcc4dc (patch)
treed37145aca209ebddd52b1b81ea8687d9a7658317 /gtk2_ardour/mixer_strip.cc
parent557031ca117195fea781ef9c9cfb634f847ecce1 (diff)
fix comment-button highlight
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r--gtk2_ardour/mixer_strip.cc8
1 files changed, 4 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;