diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-14 17:52:38 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-14 17:52:38 +0000 |
commit | ae31a55688b63152e8edc7283a93e4c0ad9e655b (patch) | |
tree | e042e23369ffb1d6112e2910d4dd7913a96ec5f4 | |
parent | 154f2eec09d87c4b393102a9edbb2b7cdf5687a2 (diff) |
rude solo blinks again
git-svn-id: svn://localhost/ardour2/branches/3.0@10588 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/ardour_ui2.cc | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc index 6cbbf32b2a..41f5600768 100644 --- a/gtk2_ardour/ardour_ui2.cc +++ b/gtk2_ardour/ardour_ui2.cc @@ -511,13 +511,12 @@ ARDOUR_UI::solo_blink (bool onoff) if (_session->soloing() || _session->listening()) { if (onoff) { - solo_alert_button.set_state (STATE_ACTIVE); + solo_alert_button.set_active (true); } else { - solo_alert_button.set_state (STATE_NORMAL); + solo_alert_button.set_active (false); } } else { solo_alert_button.set_active (false); - solo_alert_button.set_state (STATE_NORMAL); } } @@ -526,7 +525,7 @@ ARDOUR_UI::sync_blink (bool onoff) { if (_session == 0 || !_session->config.get_external_sync()) { /* internal sync */ - sync_button.unset_active_state (); + sync_button.set_active (false); return; } @@ -534,13 +533,13 @@ ARDOUR_UI::sync_blink (bool onoff) /* not locked, so blink on and off according to the onoff argument */ if (onoff) { - sync_button.set_active_state (Gtkmm2ext::Active); // "-active" + sync_button.set_active (true); } else { - sync_button.unset_active_state (); // normal + sync_button.set_active (false); } } else { /* locked */ - sync_button.set_active_state (Gtkmm2ext::Active); // "-active" + sync_button.set_active (true); } } |