Remove .gitignore do nothing is ignored.
[synfig.git] / synfig-studio / trunk / src / gtkmm / about.cpp
index 312125c..3afcc74 100644 (file)
@@ -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<Glib::ustring> authors;
        authors.push_back("Original developers:");
@@ -137,10 +141,12 @@ About::About()
        authors.push_back("Chris Moore (dooglus)");
        authors.push_back("Chris Norman (pixelgeek)");
        authors.push_back("Daniel Fort");
+       authors.push_back("Daniel Hornung (rubikcube)");
        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("Gerco Ballintijn");
        authors.push_back("IL'dar AKHmetgaleev (AkhIL)");
        authors.push_back("Luka Pravica");
        authors.push_back("Martin Michlmayr (tbm)");
@@ -152,8 +158,12 @@ About::About()
 
        std::vector<Glib::ustring> 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)");
+       artists.push_back("Daniel Hornung (rubikcube)");
+       artists.push_back("Franco Iacomella (Yaco)");
+
        set_artists(artists);
 
        // TRANSLATORS: change this to your name, separate multiple names with \n
@@ -169,8 +179,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;
 
@@ -181,13 +192,13 @@ About::About()
 #ifdef SHOW_EXTRA_INFO
 
        string extra_info = get_comments() + "\n";
-       
+
        #ifdef DEVEL_VERSION
                extra_info += strprintf(_("\nDevelopment version:\n%s\n"),DEVEL_VERSION);
        #endif
-       
+
        extra_info += "\n";
-       
+
        extra_info += strprintf(_("Built on %s" /* at %s */ "\n"), __DATE__ /* , __TIME__ */ );
 
        extra_info += "\n";
@@ -222,3 +233,8 @@ About::About()
 void About::close(int){
        hide();
 }
+
+void About::on_link_clicked(Gtk::AboutDialog&, const Glib::ustring &url)
+{
+       App::open_url(url);
+}