diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-03-19 20:53:22 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-03-19 20:53:22 +0000 |
commit | d1630219500305397e1608e09508872f0ab2f836 (patch) | |
tree | 5ae9bc1619fb2a0646628614aa85103288bfee60 /gtk2_ardour/mixer_strip.cc | |
parent | 587021ac0b63897d9b984d01b62b5dbb8514dd4f (diff) |
lots of tricks & tweaks related to the monitor section and All That It Uses
git-svn-id: svn://localhost/ardour2/branches/3.0@6777 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r-- | gtk2_ardour/mixer_strip.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index 57faf1c3bb..6b92873569 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -193,7 +193,7 @@ MixerStrip::init () middle_button_table.set_homogeneous (true); middle_button_table.set_spacings (0); middle_button_table.attach (*mute_button, 0, 1, 0, 1); - middle_button_table.attach (*solo_button, 1, 2, 0, 1); + middle_button_table.attach (*solo_button, 1, 2, 0, 1); bottom_button_table.set_col_spacings (0); bottom_button_table.set_homogeneous (true); @@ -338,6 +338,12 @@ MixerStrip::set_route (boost::shared_ptr<Route> rt) set_color (unique_random_color()); } + if (route()->is_master()) { + solo_button->hide (); + } else { + solo_button->show (); + } + if (_mixer_owned && (route()->is_master() || route()->is_control())) { if (scrollbar_height == 0) { |