fix comment-button highlight
[ardour.git] / gtk2_ardour / mixer_strip.cc
index 585012972c9ad7f08e76807bff77934b56f2cbe7..7bc48399409d989ff3c6caf2c60bcfb5d7f05266 100644 (file)
@@ -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;