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

@ -41,7 +41,7 @@ namespace ArdourWidgets {
class TearOff;
}
class MonitorSection : public RouteUI, public Gtk::EventBox, public Gtkmm2ext::StaticActionMapOwner
class MonitorSection : public RouteUI, public Gtk::EventBox
{
public:
MonitorSection (ARDOUR::Session*);
@ -55,8 +55,6 @@ public:
PluginSelector* plugin_selector() { return _plugin_selector; }
Gtkmm2ext::ActionMap& my_actions() const { return myactions; }
private:
Gtk::HBox hpacker;
Gtk::VBox vpacker;
@ -204,7 +202,6 @@ private:
Glib::RefPtr<Gtk::Action> proctoggle;
bool _ui_initialized;
static Gtkmm2ext::ActionMap myactions;
static Gtkmm2ext::Bindings* bindings;
static void load_bindings ();