return true;
}
-void
-ARDOUR_UI::load_bindings ()
-{
- if ((global_bindings = Bindings::get_bindings (X_("Global"))) == 0) {
- error << _("Global keybindings are missing") << endmsg;
- }
-}
-
void
ARDOUR_UI::cancel_solo ()
{
bool main_window_delete_event (GdkEventAny*);
bool idle_ask_about_quit ();
- void load_bindings ();
bool tabbable_visibility_button_press (GdkEventButton* ev, std::string const& tabbable_name);
void step_up_through_tabs ();
}
using namespace ARDOUR;
+using namespace Gtkmm2ext;
void
ARDOUR_UI::we_have_dependents ()
{
install_actions ();
- load_bindings ();
+
+ /* other windows and related key-event-handling contexts have already
+ * called Bindings::get_bindings() to setup their list of keybindings.
+ * Do that here for the global bindings.
+ */
+
+ if ((global_bindings = Bindings::get_bindings (X_("Global"))) == 0) {
+ error << _("Global keybindings are missing") << endmsg;
+ }
ProcessorBox::register_actions ();