diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2006-01-22 02:48:54 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2006-01-22 02:48:54 +0800 |
commit | 225c1762995be0b38aa19ff221bafd2136532b6b (patch) | |
tree | b47f5513b9bf087ba9e3860921f3bb884cb0a96f | |
parent | 4f333655bb9379139512d9523ec08a450ad188b1 (diff) | |
download | gsoc2013-epiphany-225c1762995be0b38aa19ff221bafd2136532b6b.tar gsoc2013-epiphany-225c1762995be0b38aa19ff221bafd2136532b6b.tar.gz gsoc2013-epiphany-225c1762995be0b38aa19ff221bafd2136532b6b.tar.bz2 gsoc2013-epiphany-225c1762995be0b38aa19ff221bafd2136532b6b.tar.lz gsoc2013-epiphany-225c1762995be0b38aa19ff221bafd2136532b6b.tar.xz gsoc2013-epiphany-225c1762995be0b38aa19ff221bafd2136532b6b.tar.zst gsoc2013-epiphany-225c1762995be0b38aa19ff221bafd2136532b6b.zip |
Add licence to about dialogue. Patch by Brian Pepple, bug #327998.
2006-01-21 Christian Persch <chpe@cvs.gnome.org>
* src/window-commands.c: (window_cmd_help_about):
Add licence to about dialogue. Patch by Brian Pepple,
bug #327998.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/window-commands.c | 23 |
2 files changed, 30 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2006-01-21 Christian Persch <chpe@cvs.gnome.org> + + * src/window-commands.c: (window_cmd_help_about): + + Add licence to about dialogue. Patch by Brian Pepple, + bug #327998. + 2006-01-18 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (impl_get_embed_single): 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 |