mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
make PluginManager API more in line with other singletons; do initial plugin discovery before beginning to construct the UI, so that if plugins create GUIs (e.g for license verification) they don't cause a run loop to catch the UIManager in an inconsistent state with menus defined but actions missing
git-svn-id: svn://localhost/ardour2/branches/3.0@10586 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
28f328e09c
commit
c66955386e
13 changed files with 68 additions and 66 deletions
|
|
@ -68,10 +68,10 @@ vector<RefPtr<Gtk::Action> > ActionManager::edit_point_in_region_sensitive_actio
|
|||
void
|
||||
ActionManager::init ()
|
||||
{
|
||||
ui_manager = UIManager::create ();
|
||||
|
||||
sys::path ui_file;
|
||||
|
||||
ui_manager = UIManager::create ();
|
||||
|
||||
SearchPath spath = ardour_search_path() + user_config_directory() + system_config_search_path();
|
||||
|
||||
find_file_in_search_path (spath, "ardour.menus", ui_file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue