summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui_dependents.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-07-04 07:49:26 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-07-04 07:49:26 -0400
commitb64634e32e9962bd0e0d2f8a93bbae3e51b710ed (patch)
tree2a537f5f2ea0ac67c095a1c7e75a6077789e266c /gtk2_ardour/ardour_ui_dependents.cc
parent08b1a9d52082612d99a209dc3841792a69010374 (diff)
move location of menus file loading and call ActionManager::enable_accelerators() to get all actions setup for binding options
Diffstat (limited to 'gtk2_ardour/ardour_ui_dependents.cc')
-rw-r--r--gtk2_ardour/ardour_ui_dependents.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_dependents.cc b/gtk2_ardour/ardour_ui_dependents.cc
index fbfc8c7afd..bb0f375942 100644
--- a/gtk2_ardour/ardour_ui_dependents.cc
+++ b/gtk2_ardour/ardour_ui_dependents.cc
@@ -31,6 +31,7 @@
#include "ardour/session.h"
+#include "actions.h"
#include "ardour_ui.h"
#include "public_editor.h"
#include "mixer_ui.h"
@@ -59,6 +60,11 @@ ARDOUR_UI::we_have_dependents ()
editor->setup_tooltips ();
editor->UpdateAllTransportClocks.connect (sigc::mem_fun (*this, &ARDOUR_UI::update_transport_clocks));
+ /* all actions are defined */
+
+ ActionManager::enable_accelerators ();
+ ActionManager::load_menus (ARDOUR_COMMAND_LINE::menus_file);
+
editor->track_mixer_selection ();
mixer->track_editor_selection ();
}