mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
group Product/App specific resources
* only install icons relevant to product * use program-name (as-is) as prefix * keep icons/* for all products
This commit is contained in:
parent
b7965a660d
commit
026f8dd80f
14 changed files with 26 additions and 23 deletions
|
|
@ -465,6 +465,12 @@ ARDOUR_UI_UTILS::get_icon_path (const char* cname, string icon_set, bool is_imag
|
|||
find_file (spath, name, data_file_path);
|
||||
}
|
||||
|
||||
if (data_file_path.empty()) {
|
||||
Searchpath rc (ARDOUR::ardour_data_search_path());
|
||||
rc.add_subdirectory_to_paths ("resources");
|
||||
find_file (rc, name, data_file_path);
|
||||
}
|
||||
|
||||
if (is_image && data_file_path.empty()) {
|
||||
|
||||
if (!icon_set.empty() && icon_set != _("default")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue