#include "gui_thread.h"
#include "splash.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace Gtk;
using namespace Glib;
Splash* Splash::the_splash = 0;
Splash::Splash ()
- : Gtk::Window (Gtk::WINDOW_POPUP)
{
assert (the_splash == 0);
std::string splash_file;
- if (!find_file (ardour_data_search_path(), "splash.png", splash_file)) {
+ Searchpath rc (ARDOUR::ardour_data_search_path());
+ rc.add_subdirectory_to_paths ("resources");
+
+ if (!find_file (rc, PROGRAM_NAME "-splash.png", splash_file)) {
cerr << "Cannot find splash screen image file\n";
throw failed_constructor();
}