[ghex] Fix license text



commit abce9f66ab6035f8c0dab8d3e0b4695aee88ec88
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Feb 10 20:29:49 2010 +0100

    Fix license text

 src/ui.c |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/src/ui.c b/src/ui.c
index e878206..f4a8222 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -224,7 +224,7 @@ create_dialog_title(GtkWidget *window, gchar *title)
 static void
 about_cb (BonoboUIComponent *uic, gpointer user_data, const gchar* verbname)
 {
-	gchar *copyright, *license_translated;
+	gchar *license_translated;
 
 	const gchar *authors[] = {
 		"Jaka Mo\304\215nik",
@@ -235,23 +235,23 @@ about_cb (BonoboUIComponent *uic, gpointer user_data, const gchar* verbname)
 		NULL
 	};
 
-	copyright = g_strdup ("Copyright © 1998 - 2006 Jaka Mo\304\215nik\n"
-	                      "Copyright © 2006 - 2010 GHex Contributors");
+	const gchar *copyright = _("Copyright © 1998 - 2006 Jaka Mo\304\215nik\n"
+	                           "Copyright © 2006 - 2010 GHex Contributors");
 
 	/* For documentation_credits */
 	#include "../help/ghex2-docs.h"
 
 	const gchar *license[] = {
-		N_("The GNOME Web Browser is free software; you can redistribute it and/or modify "
+		N_("This program 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, "
+		N_("This program 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., "
+		   "along with this program; if not, write to the Free Software Foundation, Inc., "
 		   "51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA")
 	};
 	license_translated = g_strjoin ("\n\n",
@@ -276,7 +276,6 @@ about_cb (BonoboUIComponent *uic, gpointer user_data, const gchar* verbname)
 	                       "wrap-license", TRUE,
 	                       NULL);
 
-	g_free (copyright);
 	g_free (license_translated);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]