From 225c1762995be0b38aa19ff221bafd2136532b6b Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 21 Jan 2006 18:48:54 +0000 Subject: Add licence to about dialogue. Patch by Brian Pepple, bug #327998. 2006-01-21 Christian Persch * src/window-commands.c: (window_cmd_help_about): Add licence to about dialogue. Patch by Brian Pepple, bug #327998. --- src/window-commands.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'src') diff --git a/src/window-commands.c b/src/window-commands.c index 1a5259459..274b8a9a1 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -729,6 +729,25 @@ window_cmd_help_about (GtkAction *action, NULL }; + const char *license[] = { + N_("The GNOME Web Browser is free software; you can redistribute it and/or modify " + "it under the terms of the GNU General Public License as published by " + "the Free Software Foundation; either version 2 of the License, or " + "(at your option) any later version."), + N_("The GNOME Web Browser is distributed in the hope that it will be useful, " + "but WITHOUT ANY WARRANTY; without even the implied warranty of " + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the " + "GNU General Public License for more details."), + N_("You should have received a copy of the GNU General Public License " + "along with the GNOME Web Browser; if not, write to the Free Software Foundation, Inc., " + "59 Temple Place, Suite 330, Boston, MA 02111-1307 USA") + }; + + char *licence; + + licence = g_strdup_printf ("%s\n%s\n%s", + _(license[0]), _(license[1]), _(license[2])); + gtk_show_about_dialog (GTK_WINDOW (window), "name", _("GNOME Web Browser"), "version", VERSION, @@ -748,7 +767,11 @@ window_cmd_help_about (GtkAction *action, "logo-icon-name", "web-browser", "website", "http://www.gnome.org/projects/epiphany", "website-label", _("GNOME Web Browser Website"), + "license", license, + "wrap-license", TRUE, NULL); + + g_free (licence); } void -- cgit v1.2.3