give mixer (R|M|S) buttons back their special status

git-svn-id: svn://localhost/ardour2/trunk@1452 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis
2007-02-13 16:20:11 +00:00
parent d405df54ec
commit ab2ffc65ae
5 changed files with 115 additions and 64 deletions

View File

@@ -34,7 +34,7 @@ StateButton::set_visual_state (int n)
switch (n) {
case 0:
name += "-normal";
/* relax */
break;
case 1:
name += "-active";
@@ -43,7 +43,7 @@ StateButton::set_visual_state (int n)
name += "-alternate";
break;
}
set_widget_name (name);
visual_state = n;
}