projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
French translation update
[ardour.git]
/
gtk2_ardour
/
splash.cc
diff --git
a/gtk2_ardour/splash.cc
b/gtk2_ardour/splash.cc
index d122449ff8cc1ed27d9c4c28fb84b3ac673ec78f..1784ac8164584d7a78b59c1ee43cb2718e178d3e 100644
(file)
--- a/
gtk2_ardour/splash.cc
+++ b/
gtk2_ardour/splash.cc
@@
-34,7
+34,7
@@
#include "gui_thread.h"
#include "splash.h"
#include "gui_thread.h"
#include "splash.h"
-#include "i18n.h"
+#include "
pbd/
i18n.h"
using namespace Gtk;
using namespace Glib;
using namespace Gtk;
using namespace Glib;
@@
-50,7
+50,10
@@
Splash::Splash ()
std::string splash_file;
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();
}
cerr << "Cannot find splash screen image file\n";
throw failed_constructor();
}