summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2018-12-10 18:39:14 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2018-12-10 18:39:14 -0500
commit12a88c9706204a7bd2a674896d0fe93654139f0f (patch)
tree7eff573b53929f2d3255230f94805dd317594e95 /gtk2_ardour/mixer_ui.cc
parent5b513828bd34186640f94a127afb940aea3d17e3 (diff)
show-editor and show-mixer actions are now part of Common, not Window or Mixer action groups
This is a bit arbitary but they are supposed to be invokable from anywhere, and since they control Tabbables and note pure windows, they are not part of WM::Manager's purview (Window/* actions). Thus ... Common
Diffstat (limited to 'gtk2_ardour/mixer_ui.cc')
-rw-r--r--gtk2_ardour/mixer_ui.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc
index 7a7b10ec90..a4cfe775f9 100644
--- a/gtk2_ardour/mixer_ui.cc
+++ b/gtk2_ardour/mixer_ui.cc
@@ -3203,17 +3203,9 @@ Mixer_UI::showing_spill_for (boost::shared_ptr<Stripable> s) const
}
void
-Mixer_UI::show_editor_window () const
-{
- PublicEditor::instance().make_visible ();
-}
-
-void
Mixer_UI::register_actions ()
{
- Glib::RefPtr<ActionGroup> group = ActionManager::create_action_group (X_("Mixer"));
-
- ActionManager::register_action (group, "show-editor", _("Show Editor"), sigc::mem_fun (*this, &Mixer_UI::show_editor_window));
+ Glib::RefPtr<ActionGroup> group = ActionManager::create_action_group (this, X_("Mixer"));
ActionManager::register_action (group, "solo", _("Toggle Solo on Mixer-Selected Tracks/Busses"), sigc::mem_fun (*this, &Mixer_UI::solo_action));
ActionManager::register_action (group, "mute", _("Toggle Mute on Mixer-Selected Tracks/Busses"), sigc::mem_fun (*this, &Mixer_UI::mute_action));