X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fabout.cpp;h=b3e4f5295299a5e5bc2ff77a91580ed23bf28187;hb=1f453e8ab546a357781372fe98aa1d004387d4b1;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..b3e4f52 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); @@ -169,8 +174,9 @@ About::About() if(synfig_root) { imagepath=synfig_root; imagepath+=ETL_DIRECTORY_SEPARATOR; - - imagepath+="share/pixmaps"; + imagepath+="share"; + imagepath+=ETL_DIRECTORY_SEPARATOR; + imagepath+="pixmaps"; } imagepath+=ETL_DIRECTORY_SEPARATOR; @@ -222,3 +228,8 @@ About::About() void About::close(int){ hide(); } + +void About::on_link_clicked(Gtk::AboutDialog&, const Glib::ustring &url) +{ + App::open_url(url); +}