From a13a8da8ac977b247b7c8d8b4f2cfcddfc8996e7 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 1 Aug 2015 23:40:55 -0400 Subject: 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 --- gtk2_ardour/ardour_ui.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/ardour_ui.h') 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__ */ -- cgit v1.2.3