show-editor and show-mixer actions are now part of Common, not Window or Mixer action...
[ardour.git] / gtk2_ardour / ardour_ui_ed.cc
index b888b97055e9d5edbe25aede594e172d95acd231..49d3d14c58c0778b152813b72086d490c9771249 100644 (file)
@@ -278,8 +278,9 @@ ARDOUR_UI::install_actions ()
        ActionManager::register_action (common_actions, X_("detach-mixer"), _("Detach"), sigc::bind (sigc::mem_fun (*this, &ARDOUR_UI::detach_tabbable), mixer));
        ActionManager::register_action (common_actions, X_("detach-preferences"), _("Detach"), sigc::bind (sigc::mem_fun (*this, &ARDOUR_UI::detach_tabbable), rc_option_editor));
 
-       Glib::RefPtr<Gtk::ActionGroup> window_actions = ActionManager::create_action_group (X_("Window"));
-       ActionManager::register_action (window_actions, X_("show-mixer"), _("Show Mixer"), sigc::bind (sigc::mem_fun (*this, &ARDOUR_UI::show_tabbable), mixer));
+       ActionManager::register_action (common_actions, X_("show-mixer"), _("Show Mixer"), sigc::bind (sigc::mem_fun (*this, &ARDOUR_UI::show_tabbable), mixer));
+       ActionManager::register_action (common_actions, X_("show-editor"), _("Show Editor"), sigc::bind (sigc::mem_fun (*this, &ARDOUR_UI::show_tabbable), editor));
+
 
        /* these actions are all currently implemented by the Editor, but need
         * to be accessible from anywhere as actions.