X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fabout.cpp;h=110fde129a1b4efc1422a5444961bc0cd7862ab8;hb=383d977ef1a85b4b8085cdcf8390b0c22c24989b;hp=698f4c35a792458cf40d1f0ea231a2e11d080c53;hpb=3624aac2a6e2dc3824ae22e99e2608f93f285e61;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/about.cpp b/synfig-studio/trunk/src/gtkmm/about.cpp index 698f4c3..110fde1 100644 --- a/synfig-studio/trunk/src/gtkmm/about.cpp +++ b/synfig-studio/trunk/src/gtkmm/about.cpp @@ -5,7 +5,7 @@ ** $Id$ ** ** \legal -** Copyright 2008 Paul Wise +** Copyright (c) 2008 Paul Wise ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -95,13 +95,15 @@ extern const guint gtk_interface_age; About::About() { -#if GTK_CHECK_VERSION (2, 12, 0) +#ifdef HAVE_GTK_ABOUTDIALOG_SET_PROGRAM_NAME set_program_name(PACKAGE_NAME); #else set_name(PACKAGE_NAME); #endif set_version(VERSION); set_comments(_("2D vector animation studio")); + + set_url_hook(sigc::mem_fun(*this, &About::on_link_clicked)); set_website("http://www.synfig.org/"); set_website_label(_("Visit the Synfig website")); @@ -121,7 +123,9 @@ About::About() "with this program; if not, write to the Free Software Foundation, Inc., " "51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or visit: http://www.gnu.org/"; set_license(license); +#ifdef HAVE_GTK_ABOUTDIALOG_SET_WRAP_LICENSE set_wrap_license(true); +#endif std::vector authors; authors.push_back("Original developers:"); @@ -135,11 +139,12 @@ About::About() authors.push_back("Andreas Jochens"); authors.push_back("Carlos López González (genete)"); authors.push_back("Chris Moore (dooglus)"); - authors.push_back("Chris Norman (PXEGeek)"); + authors.push_back("Chris Norman (pixelgeek)"); authors.push_back("Daniel Fort"); authors.push_back("David Roden (Bombe)"); authors.push_back("Dmitriy Pomerantsev (Atrus)"); authors.push_back("Douglas Lau"); + authors.push_back("Gerald Young (Yoyobuae)"); authors.push_back("IL'dar AKHmetgaleev (AkhIL)"); authors.push_back("Luka Pravica"); authors.push_back("Martin Michlmayr (tbm)"); @@ -151,8 +156,9 @@ About::About() std::vector artists; artists.push_back("Robert B. Quattlebaum Jr. (darco)"); + artists.push_back("Aurore D (rore)"); artists.push_back("Carlos López González (genete)"); - artists.push_back("Chris Norman (PXEGeek)"); + artists.push_back("Chris Norman (pixelgeek)"); set_artists(artists); // TRANSLATORS: change this to your name, separate multiple names with \n @@ -187,7 +193,7 @@ About::About() extra_info += "\n"; - extra_info += strprintf(_("Built on %s at %s\n"), __DATE__, __TIME__); + extra_info += strprintf(_("Built on %s" /* at %s */ "\n"), __DATE__ /* , __TIME__ */ ); extra_info += "\n"; @@ -221,3 +227,8 @@ About::About() void About::close(int){ hide(); } + +void About::on_link_clicked(Gtk::AboutDialog&, const Glib::ustring &url) +{ + App::open_url(url); +}