summaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-10-20 22:39:40 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-10-20 22:39:40 -0700
commitc6d713bb4dc07eb55865b4d22c99f69a924d2b9b (patch)
treec5cb43c82b08b524fe051cab703723f836eaba3c /gtk-gui.c
parente6454f177302b2fd078e717b8132891629a7fe96 (diff)
downloadsubsurface-c6d713bb4dc07eb55865b4d22c99f69a924d2b9b.tar.gz
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 <dirk@hohndel.org>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r--gtk-gui.c6
1 files 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,