fix comment-button highlight
authorRobin Gareus <robin@gareus.org>
Sun, 19 Jun 2016 22:59:07 +0000 (00:59 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 19 Jun 2016 22:59:21 +0000 (00:59 +0200)
gtk2_ardour/mixer_strip.cc
gtk2_ardour/themes/dark-ardour.colors

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;
index 7788ad774fd506dba1fd9dea4b6f079efeaed7ba..310e71b0e6c31909e517894f2c1cec8f6f8ea422 100644 (file)
     <ColorAlias name="clock: cursor" alias="color 8"/>
     <ColorAlias name="clock: edited text" alias="color 8"/>
     <ColorAlias name="clock: text" alias="color 12"/>
+    <ColorAlias name="comment button: fill" alias="color 20"/>
     <ColorAlias name="control point fill" alias="color 17"/>
     <ColorAlias name="control point outline" alias="meter color3"/>
     <ColorAlias name="control point selected fill" alias="color 72"/>