along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id$
*/
#include <algorithm>
#include <ctime>
#include <cstdlib>
+#include <pbd/file_utils.h>
+
+#include <ardour/svn_revision.h>
#include <ardour/ardour.h>
#include <ardour/version.h>
+#include <ardour/filesystem_paths.h>
#include "utils.h"
#include "version.h"
N_("Stefan Kersten"),
N_("Christopher George"),
N_("Robert Jordens"),
+ N_("Dave Robillard"),
+ N_("Hans Fugal"),
+ N_("Brian Ahr"),
+ N_("Nimal Ratnayake"),
+ N_("Mike Täht"),
+ N_("John Anderson"),
+ N_("Nedko Arnaudov"),
+ N_("Carl Hetherington"),
+ N_("Colin Fletcher"),
+ N_("Roland Stigge"),
+ N_("Audun Halland"),
+ N_("Armand Klenk"),
0
};
static const char* translators[] = {
- N_("French:\n\tAlain Fréhel <alain.frehel@free.fr>\n"),
- N_("German:\n\tKarsten Petersen <kapet@kapet.de>\n"),
+ N_("French:\n\tAlain Fréhel <alain.frehel@free.fr>\n\tChristophe Combelles <ccomb@free.fr>\n"),
+ N_("German:\n\tKarsten Petersen <kapet@kapet.de>\n\tSebastian Arnold <mail@sebastian-arnold.net>\n"),
N_("Italian:\n\tFilippo Pappalardo <filippo@email.it>\n"),
N_("Portuguese:\n\tRui Nuno Capela <rncbc@rncbc.org>\n"),
N_("Brazilian Portuguese:\n\tAlexander da Franca Fernandes <alexander@nautae.eti.br>\
\n\tChris Ross <chris@tebibyte.org>\n"),
N_("Spanish:\n\t Alex Krohn <alexkrohn@fastmail.fm>\n"),
N_("Russian:\n\t Igor Blinov <pitstop@nm.ru>\n"),
+ N_("Greek:\n\t Klearchos Gourgourinis <muadib@in.gr>\n"),
+ N_("Swedish:\n\t Petter Sundlöf <petter.sundlof@gmail.com>\n"),
+ N_("Polish:\n\t Piotr Zaryk <pzaryk@gmail.com>\n"),
0
};
: paypal_pixmap (paypal_xpm)
#endif
{
- set_type_hint(Gdk::WINDOW_TYPE_HINT_SPLASHSCREEN);
+ // set_type_hint(Gdk::WINDOW_TYPE_HINT_SPLASHSCREEN);
string path;
string t;
- path = find_data_file ("splash.png");
+ sys::path splash_file;
+
+ SearchPath spath(ardour_search_path() + system_data_search_path());
- Glib::RefPtr<Pixbuf> pixbuf = Gdk::Pixbuf::create_from_file (path);
+ if (find_file_in_search_path (spath, "splash.png", splash_file)) {
+ set_logo (Gdk::Pixbuf::create_from_file (splash_file.to_string()));
+ } else {
+ error << "Could not find splash file" << endmsg;
+ }
- set_logo (Gdk::Pixbuf::create_from_file (path));
set_authors (authors);
for (int n = 0; translators[n]; ++n) {
}
set_translator_credits (t);
- set_copyright (_("Copyright (C) 1999-2006 Paul Davis\n"));
+ set_copyright (_("Copyright (C) 1999-2008 Paul Davis\n"));
set_license (_("Ardour comes with ABSOLUTELY NO WARRANTY\n"
"This is free software, and you are welcome to redistribute it\n"
"under certain conditions; see the file COPYING for details.\n"));
set_name (X_("ardour"));
set_website (X_("http://ardour.org/"));
- set_website_label (X_("visit http://www.ardour.org/"));
+ set_website_label (_("visit http://www.ardour.org/"));
set_version ((string_compose(_("%1\n(built from revision %2)"),
VERSIONSTRING,
- gtk_ardour_revision)));
+ svn_revision)));
#ifdef WITH_PAYMENT_OPTIONS