X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fabout.cpp;h=110fde129a1b4efc1422a5444961bc0cd7862ab8;hb=0530440c8e0bb7dd0a9c61ac39a68bfe7fe41674;hp=312125c77d36211f0e0c793f0219315d397ffa25;hpb=413d2eec938f3f324637e69c63d7240c83500631;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/about.cpp b/synfig-studio/trunk/src/gtkmm/about.cpp index 312125c..110fde1 100644 --- a/synfig-studio/trunk/src/gtkmm/about.cpp +++ b/synfig-studio/trunk/src/gtkmm/about.cpp @@ -102,6 +102,8 @@ About::About() #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:"); @@ -152,6 +156,7 @@ 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 (pixelgeek)"); set_artists(artists); @@ -222,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); +}