summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-07-03 01:41:35 +0200
committerRobin Gareus <robin@gareus.org>2017-07-03 01:41:35 +0200
commit9695fd4ca96a9a6a057d5ac453acb791543f1efc (patch)
tree236571cdd3098eefefa8a9e38fa2d604ac05d6fd /gtk2_ardour
parentef8756a83ae98c527afe63779bcb1a60f4e8c131 (diff)
Re-introduce toggle-editor-and-mixer (for ctrl-surfaces)
6af51b52 moved to dedicated show-editor/show-mixer actions for keybindings because the Mixer has a dedicated handler. For Control-surfaces a common action is still practical. Note: This is still broken for detached windows. it currently only toggles tabs correctly.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/ardour_ui_ed.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_ed.cc b/gtk2_ardour/ardour_ui_ed.cc
index b0e0bc1006..e2e791f93c 100644
--- a/gtk2_ardour/ardour_ui_ed.cc
+++ b/gtk2_ardour/ardour_ui_ed.cc
@@ -357,6 +357,8 @@ ARDOUR_UI::install_actions ()
global_actions.register_action (common_actions, X_("previous-tab"), _("Previous Tab"), sigc::mem_fun (*this, &ARDOUR_UI::step_up_through_tabs));
global_actions.register_action (common_actions, X_("next-tab"), _("Next Tab"), sigc::mem_fun (*this, &ARDOUR_UI::step_down_through_tabs));
+ global_actions.register_action (common_actions, X_("toggle-editor-and-mixer"), _("Toggle Editor & Mixer"), sigc::mem_fun (*this, &ARDOUR_UI::toggle_editor_and_mixer));
+
/* windows visibility actions */
global_actions.register_toggle_action (common_actions, X_("ToggleMaximalEditor"), _("Maximise Editor Space"), sigc::mem_fun (*this, &ARDOUR_UI::toggle_editing_space));