Fix finding of splash file and display in About dialog
authorTim Mayberry <mojofunk@gmail.com>
Fri, 30 Sep 2016 12:28:50 +0000 (22:28 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Fri, 30 Sep 2016 12:37:00 +0000 (22:37 +1000)
gtk2_ardour/about.cc

index eb98398f26961f868ee59ade37e23897163115ed..02d197251153835e47dcb14fa12098e757be993f 100644 (file)
@@ -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;