From: Christian Dywan Date: Mon, 17 Aug 2009 17:22:33 +0000 (+0200) Subject: Add GTK+ and WebKitGTK+ versions to About dialog X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=953a268cf8ad99a799d62e2917fae99d9f947e3d;p=midori Add GTK+ and WebKitGTK+ versions to About dialog --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 09fb1f13..3cc7b8ca 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -3943,13 +3943,18 @@ static void _action_about_activate (GtkAction* action, MidoriBrowser* browser) { + gchar* comments = g_strdup_printf ("GTK+ %d.%d.%d, WebKitGTK+ %d.%d.%d\n%s", + GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION, + WEBKIT_MAJOR_VERSION, WEBKIT_MINOR_VERSION, WEBKIT_MICRO_VERSION, + _("A lightweight web browser.")); + gtk_about_dialog_set_email_hook (_action_about_activate_email, NULL, NULL); gtk_about_dialog_set_url_hook (_action_about_activate_link, browser, NULL); gtk_show_about_dialog (GTK_WINDOW (browser), "logo-icon-name", gtk_window_get_icon_name (GTK_WINDOW (browser)), "name", PACKAGE_NAME, "version", PACKAGE_VERSION, - "comments", _("A lightweight web browser."), + "comments", comments, "copyright", "Copyright © 2007-2009 Christian Dywan", "website", "http://www.twotoasts.de", "authors", credits_authors,