re-order startup process, registering actions early

Mostly to stop an error when UIConfiguration::map_parameters()
looks for an action that has not yet been registered
This commit is contained in:
Paul Davis 2019-01-13 12:01:18 -06:00
parent e5ae620c0b
commit 9d1fa8f820
4 changed files with 186 additions and 166 deletions

View file

@ -75,7 +75,8 @@ ARDOUR_UI::we_have_dependents ()
error << _("Global keybindings are missing") << endmsg;
}
install_actions ();
install_dependent_actions ();
/* The monitor section relies on at least 1 action defined by us. Since that
* action now exists, give it a chance to use it.
*/
@ -85,7 +86,7 @@ ARDOUR_UI::we_have_dependents ()
*/
ProcessorBox::register_actions ();
StepEntry::setup_actions_and_bindings ();
/* Global, editor, mixer, processor box actions are defined now. Link
them with any bindings, so that GTK does not get a chance to define
the GTK accel map entries first when we ask the GtkUIManager to