diff options
author | Robin Gareus <robin@gareus.org> | 2018-08-08 22:42:12 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-08-08 22:42:12 +0200 |
commit | bf694199ab9412508892608ba80da16d30f8a9ca (patch) | |
tree | 8a39bea5b583b5a56a71163ab40736dd9a07ba78 /gtk2_ardour/ardour_ui_ed.cc | |
parent | 3064c5a6753bdccb86d446d2cba15f95d372f002 (diff) |
Add method to show/hide VCA (and Mixbus) Mixer pane
Diffstat (limited to 'gtk2_ardour/ardour_ui_ed.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_ed.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_ed.cc b/gtk2_ardour/ardour_ui_ed.cc index 4ee384f467..b5c0a9d563 100644 --- a/gtk2_ardour/ardour_ui_ed.cc +++ b/gtk2_ardour/ardour_ui_ed.cc @@ -372,6 +372,16 @@ ARDOUR_UI::install_actions () act = global_actions.register_toggle_action (common_actions, X_("ToggleMixerList"), _("Toggle Mixer List"), sigc::mem_fun (*this, &ARDOUR_UI::toggle_mixer_list)); ActionManager::session_sensitive_actions.push_back (act); + act = global_actions.register_toggle_action (common_actions, X_("ToggleVCAPane"), _("Toggle VCA Pane"), sigc::mem_fun (*this, &ARDOUR_UI::toggle_vca_pane)); + ActionManager::session_sensitive_actions.push_back (act); + Glib::RefPtr<ToggleAction>::cast_dynamic(act)->set_active (true); + +#ifdef MIXBUS + act = global_actions.register_toggle_action (common_actions, X_("ToggleMixbusPane"), _("Toggle Mixbus Pane"), sigc::mem_fun (*this, &ARDOUR_UI::toggle_mixbus_pane)); + ActionManager::session_sensitive_actions.push_back (act); + Glib::RefPtr<ToggleAction>::cast_dynamic(act)->set_active (true); +#endif + act = global_actions.register_toggle_action (common_actions, X_("ToggleMonitorSection"), _("Toggle Monitor Section Visibility"), sigc::mem_fun (*this, &ARDOUR_UI::toggle_monitor_section_visibility)); act->set_sensitive (false); |