diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-06-11 13:22:42 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-06-11 13:22:42 +0000 |
commit | f8565ef5707f35a6ffc7b0b7758ccd91fc360ec1 (patch) | |
tree | 878802ccaa596884eacfc12f76ba78dc6eaaf30b /gtk2_ardour/route_ui.cc | |
parent | 7a726092d7810d7fdfc9455a9061a3cdf896ca59 (diff) |
no solo button on master bus
git-svn-id: svn://localhost/ardour2/branches/3.0@5167 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r-- | gtk2_ardour/route_ui.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index c5e11e5aab..7c0d908e6d 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -115,6 +115,7 @@ RouteUI::init () solo_button->set_self_managed (true); solo_button->set_name ("SoloButton"); UI::instance()->set_tip (solo_button, _("Mute other (non-soloed) tracks"), ""); + solo_button->set_no_show_all (true); rec_enable_button = manage (new BindableToggleButton ("")); rec_enable_button->set_name ("RecordEnableButton"); @@ -210,7 +211,12 @@ RouteUI::set_route (boost::shared_ptr<Route> rp) solo_button->unset_flags (Gtk::CAN_FOCUS); mute_button->show(); - solo_button->show(); + + if (_route->is_master()) { + solo_button->hide (); + } else { + solo_button->show(); + } connections.push_back (_route->RemoteControlIDChanged.connect (mem_fun(*this, &RouteUI::refresh_remote_control_menu))); |