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;
<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"/>