diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2016-09-30 22:28:50 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2016-09-30 22:37:00 +1000 |
commit | 2637aaee23e24fb603dc347a1738f3b757c39c06 (patch) | |
tree | 1144096176c9a64cb7c92350fd9505d47af57fad /gtk2_ardour/about.cc | |
parent | 4950bdaf161571325ad51331b4994a8f319d2f96 (diff) |
Fix finding of splash file and display in About dialog
Diffstat (limited to 'gtk2_ardour/about.cc')
-rw-r--r-- | gtk2_ardour/about.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/about.cc b/gtk2_ardour/about.cc index eb98398f26..02d1972511 100644 --- a/gtk2_ardour/about.cc +++ b/gtk2_ardour/about.cc @@ -585,8 +585,9 @@ About::About () std::string splash_file; Searchpath spath(ardour_data_search_path()); + spath.add_subdirectory_to_paths ("resources"); - if (find_file (spath, "splash.png", splash_file)) { + if (find_file (spath, PROGRAM_NAME "-splash.png", splash_file)) { set_logo (Gdk::Pixbuf::create_from_file (splash_file)); } else { error << "Could not find splash file" << endmsg; |