summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-08-01 23:40:55 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-02-22 15:31:23 -0500
commita13a8da8ac977b247b7c8d8b4f2cfcddfc8996e7 (patch)
tree1634663d824b2249a83d01881924fb3ff5bca2cd /gtk2_ardour/ardour_ui.h
parentd0fc12bd22107bf6f14a2c249ed340d40e596f58 (diff)
switch all action registration/binding code over to new API.
This removes the ability to change bindings via menus. Still to come: saving modified bindings, and reworking the key editor
Diffstat (limited to 'gtk2_ardour/ardour_ui.h')
-rw-r--r--gtk2_ardour/ardour_ui.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk2_ardour/ardour_ui.h b/gtk2_ardour/ardour_ui.h
index c1905f322b..e6ec7bcb50 100644
--- a/gtk2_ardour/ardour_ui.h
+++ b/gtk2_ardour/ardour_ui.h
@@ -366,8 +366,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr
bool _initial_verbose_plugin_scan;
bool first_time_engine_run;
- Gtkmm2ext::Bindings _global_bindings;
-
bool tabs_button_event (GdkEventButton* ev);
void show_tabbable (Gtkmm2ext::Tabbable*);
@@ -829,6 +827,11 @@ class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr
bool main_window_delete_event (GdkEventAny*);
bool idle_ask_about_quit ();
+
+ Gtkmm2ext::ActionMap global_actions;
+ Gtkmm2ext::Bindings global_bindings;
+ void load_bindings ();
+
};
#endif /* __ardour_gui_h__ */