mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
major rationalization of use of search paths. ardour now has just 4 functions used to define how external resources are located: ardour_config_search_path() (for system or user specific configuration data), ardour_data_search_path() (for machine, user and system independent data), ardour_dll_directory() (base directory where shared libraries are found) and user_config_directory(). These are now used throughout the code. the config, data and dll paths/directories can be overridden by environment variables. the user config dir is added as the first element of the first two search paths, and use selectively when searching for a few other things.
This commit re-enabes ./waf install, and it is believed that it works fully at this point (more testing likely required) git-svn-id: svn://localhost/ardour2/branches/3.0@12326 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
433b6651ee
commit
813c5f0af9
33 changed files with 181 additions and 246 deletions
|
|
@ -709,9 +709,8 @@ StepEntry::load_bindings ()
|
|||
bindings.set_action_map (myactions);
|
||||
|
||||
sys::path binding_file;
|
||||
SearchPath spath = ardour_search_path() + user_config_directory() + system_config_search_path();
|
||||
|
||||
if (find_file_in_search_path (spath, "step_editing.bindings", binding_file)) {
|
||||
if (find_file_in_search_path (ardour_config_search_path(), "step_editing.bindings", binding_file)) {
|
||||
bindings.load (binding_file.to_string());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue