X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fabout.cc;h=280f72a8dcb46c434c56a589f741496bd2a65d5c;hb=90ea64d1fc9e64347aca9df8c64ff0aeb674410d;hp=8f4d6e052630e86ee8acfca1fe019c8e04a99c20;hpb=15b5fce90480490455237da917167b0bcb5ce946;p=ardour.git diff --git a/gtk2_ardour/about.cc b/gtk2_ardour/about.cc index 8f4d6e0526..280f72a8dc 100644 --- a/gtk2_ardour/about.cc +++ b/gtk2_ardour/about.cc @@ -27,8 +27,7 @@ #include "pbd/file_utils.h" -#include "ardour/svn_revision.h" -#include "ardour/ardour.h" +#include "ardour/revision.h" #include "ardour/version.h" #include "ardour/filesystem_paths.h" @@ -131,21 +130,29 @@ static const char* authors[] = { N_("Jesse Chappell"), N_("Thomas Charbonnel"), N_("Sam Chessman"), + N_("André Colomb"), N_("Paul Davis"), N_("Gerard van Dongen"), N_("Colin Fletcher"), + N_("Dave Flick"), N_("Hans Fugal"), + N_("Robin Gareus"), N_("Christopher George"), + N_("Chris Goddard"), N_("J. Abelardo Gutierrez"), N_("Jeremy Hall"), N_("Audun Halland"), + N_("David Halter"), N_("Steve Harris"), + N_("Melvin Ray Herr"), N_("Carl Hetherington"), N_("Rob Holland"), N_("Robert Jordens"), N_("Stefan Kersten"), N_("Armand Klenk"), + N_("Julien de Kozak"), N_("Matt Krai"), + N_("Nick Lanham"), N_("Colin Law"), N_("Joshua Leach"), N_("Ben Loftis"), @@ -154,43 +161,51 @@ static const char* authors[] = { N_("Doug Mclain"), N_("Jack O'Quin"), N_("Nimal Ratnayake"), - N_("Dave Robillard"), + N_("David Robillard"), N_("Taybin Rutkin"), N_("Andreas Ruge"), N_("Sampo Savolainen"), + N_("Rodrigo Severo"), N_("Per Sigmond"), N_("Lincoln Spiteri"), + N_("Mike Start"), N_("Mark Stewart"), N_("Roland Stigge"), N_("Petter Sundlöf"), N_("Mike Täht"), + N_("Roy Vegard"), N_("Thorsten Wilms"), - N_("Robin Gareus"), 0 }; static const char* translators[] = { - N_("French:\n\tAlain Fréhel \n\tChristophe Combelles \n\tMartin Blanchard\n"), + N_("French:\n\tAlain Fréhel \n\tChristophe Combelles \n\tMartin Blanchard\n\tRomain Arnaud \n"), N_("German:\n\tKarsten Petersen \ \n\tSebastian Arnold \ -\n\tRobert Schwede\n"), - N_("Italian:\n\tFilippo Pappalardo \n"), +\n\tRobert Schwede \ +\n\tBenjamin Scherrer \ +\n\tEdgar Aichinger \ +\n\tRichard Oax \ +\n\tRobin Gloster \n"), + N_("Italian:\n\tFilippo Pappalardo \n\tRaffaele Morelli \n"), N_("Portuguese:\n\tRui Nuno Capela \n"), N_("Brazilian Portuguese:\n\tAlexander da Franca Fernandes \ \n\tChris Ross \n"), - N_("Spanish:\n\t Alex Krohn \n"), - N_("Russian:\n\t Igor Blinov \n"), + N_("Spanish:\n\t Alex Krohn \n\tPablo Fernández \n"), + N_("Russian:\n\t Igor Blinov \ +\n\tAlexandre Prokoudine \n"), N_("Greek:\n\t Klearchos Gourgourinis \n"), N_("Swedish:\n\t Petter Sundlöf \n"), N_("Polish:\n\t Piotr Zaryk \n"), N_("Czech:\n\t Pavel Fric \n"), N_("Norwegian:\n\t Eivind Ødegård\n"), + N_("Chinese:\n\t Rui-huai Zhang \n"), 0 }; static const char* gpl = X_("\n\ Ardour comes with NO WARRANTY. It is free software, and you are welcome to redistribute it\n\ -under the terms of the GNU Public License, shown below.\n\ +under the terms of the GNU General Public License, shown below.\n\ \n\ GNU GENERAL PUBLIC LICENSE\n\ Version 2, June 1991\n\ @@ -542,15 +557,14 @@ About::About () { // set_type_hint(Gdk::WINDOW_TYPE_HINT_SPLASHSCREEN); - string path; string t; - sys::path splash_file; + std::string splash_file; - SearchPath spath(ardour_search_path() + system_data_search_path()); + SearchPath spath(ardour_data_search_path()); if (find_file_in_search_path (spath, "splash.png", splash_file)) { - set_logo (Gdk::Pixbuf::create_from_file (splash_file.to_string())); + set_logo (Gdk::Pixbuf::create_from_file (splash_file)); } else { error << "Could not find splash file" << endmsg; } @@ -563,20 +577,25 @@ About::About () } set_translator_credits (t); - set_copyright (_("Copyright (C) 1999-2010 Paul Davis\n")); + set_copyright (_("Copyright (C) 1999-2013 Paul Davis\n")); set_license (gpl); set_name (X_("Ardour")); set_website (X_("http://ardour.org/")); set_website_label (_("http://ardour.org/")); set_version ((string_compose(_("%1\n(built from revision %2)"), VERSIONSTRING, - svn_revision))); + revision))); Gtk::Button* config_button = manage (new Button (_("Config"))); get_action_area()->add (*config_button); get_action_area()->reorder_child (*config_button, 0); config_button->signal_clicked().connect (mem_fun (*this, &About::show_config_info)); + + Gtk::Button *btn = static_cast(get_widget_for_response(Gtk::RESPONSE_CANCEL)); + if (btn) { + btn->signal_clicked().connect(sigc::mem_fun(static_cast(this), &Gtk::Window::hide)); + } } About::~About () @@ -591,6 +610,7 @@ About::show_config_info () config_info = new ConfigInfoDialog; } - config_info->present (); + config_info->run (); + config_info->hide (); }