use ActionManager namespace, rather than ActionMap objects, and remove all per-context action maps

This commit is contained in:
Paul Davis 2018-12-10 08:33:31 -05:00
parent 00df619d21
commit fc83d044f8
25 changed files with 627 additions and 651 deletions

View file

@ -104,7 +104,7 @@ ARDOUR_UI_UTILS::just_hide_it (GdkEventAny */*ev*/, Gtk::Window *win)
static bool
idle_notify_engine_stopped ()
{
Glib::RefPtr<Action> act = ARDOUR_UI::instance()->find_action ("Window", "toggle-audio-midi-setup");
Glib::RefPtr<Action> act = ActionManager::get_action ("Window", "toggle-audio-midi-setup");
Glib::RefPtr<ToggleAction> tact = Glib::RefPtr<ToggleAction>::cast_dynamic(act);
MessageDialog msg (