From c6d713bb4dc07eb55865b4d22c99f69a924d2b9b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 20 Oct 2012 22:39:40 -0700 Subject: Improved About dialog Add a link to the GPL, a link to the homepage, an opportunity for the translator to be listed (this requires the translations to translate the phrase "translator-credits" with the names of the translators - kinda nifty). Signed-off-by: Dirk Hohndel --- gtk-gui.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gtk-gui.c b/gtk-gui.c index f3da8dc93..0be2f7e95 100644 --- a/gtk-gui.c +++ b/gtk-gui.c @@ -847,13 +847,15 @@ static void about_dialog(GtkWidget *w, gpointer data) logo_property = "logo"; } } - gtk_show_about_dialog(NULL, + "title", _("About Subsurface"), "program-name", "Subsurface", "comments", _("Multi-platform divelog software in C"), - "license", "GPLv2", + "website", "http://subsurface.hohndel.org", + "license", "GNU General Public License, version 2\nhttp://www.gnu.org/licenses/old-licenses/gpl-2.0.html", "version", VERSION_STRING, "copyright", _("Linus Torvalds, Dirk Hohndel, and others, 2011, 2012"), + "translator_credits", _("translator-credits"), "logo-icon-name", "subsurface", /* Must be last: */ logo_property, logo, -- cgit v1.2.3-70-g09d2