[gnome-utils] dictionary: Use the GtkAboutDialog:license-type property



commit 840c90655abf14efc75da6f6acb9e630efb4eee8
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Sat Jan 29 18:57:10 2011 +0000

    dictionary: Use the GtkAboutDialog:license-type property
    
    Do not use an unstranslatable license blurb.

 gnome-dictionary/src/gdict-about.c |   19 +------------------
 1 files changed, 1 insertions(+), 18 deletions(-)
---
diff --git a/gnome-dictionary/src/gdict-about.c b/gnome-dictionary/src/gdict-about.c
index 0e8766f..2f52fcc 100644
--- a/gnome-dictionary/src/gdict-about.c
+++ b/gnome-dictionary/src/gdict-about.c
@@ -56,22 +56,6 @@ gdict_show_about_dialog (GtkWidget *parent)
   const gchar *copyright = "Copyright \xc2\xa9 2005-2006 Emmanuele Bassi";
   const gchar *comments = _("Look up words in dictionaries");
   
-  const gchar *license =
-    "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"
-    "\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"
-    "\n"
-    "You should have received a copy of the GNU General Public License "
-    "along with this program; if not, write to the Free Software "
-    "Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA "
-    "02111-1307, USA.\n";
-
   g_return_if_fail (GTK_IS_WIDGET (parent));
   
   gtk_show_about_dialog (GTK_IS_WINDOW (parent) ? GTK_WINDOW (parent) : NULL,
@@ -83,8 +67,7 @@ gdict_show_about_dialog (GtkWidget *parent)
   			 "documenters", documenters,
   			 "translator-credits", translator_credits,
   			 "logo-icon-name", "accessories-dictionary",
-  			 "license", license,
-  			 "wrap-license", TRUE,
+  			 "license-type", GTK_LICENSE_GPL_2_0,
 			 "screen", gtk_widget_get_screen (parent),
   			 NULL);
 }



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