[tasks] gtk: don't explicitly show the GPL, do what GTK+ 3 does and link to it



commit 0fb7bafbb9a8029e9b7fd7e5eb773420c81c94a6
Author: Ross Burton <ross linux intel com>
Date:   Tue Oct 12 11:48:48 2010 +0100

    gtk: don't explicitly show the GPL, do what GTK+ 3 does and link to it

 src/gtk/main.c |   26 ++++++++++----------------
 1 files changed, 10 insertions(+), 16 deletions(-)
---
diff --git a/src/gtk/main.c b/src/gtk/main.c
index 530a5cf..bb693f9 100644
--- a/src/gtk/main.c
+++ b/src/gtk/main.c
@@ -442,26 +442,19 @@ on_about_action (GtkAction *action, gpointer user_data)
     "Jakub Steiner <jimmac ximian com>",
     NULL,
   };
-  const char *license = {
-    _(
-       "Tasks 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"
-       "Tasks 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 Tasks; if not, write to the Free Software Foundation, Inc., "
-       "51 Franklin St, Fifth Floor, Boston, MA 0110-1301, USA"
-       )
-  };
+#define COPYRIGHT_STRING "Copyright \302\251 2007-2010 Intel Corp"
+  const char *license = _(
+                          "Tasks"
+                          "\n\n"
+                          COPYRIGHT_STRING
+                          "\n\n"
+                          "This program comes with ABSOLUTELY NO WARRANTY; for details, visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html";
+                          );
 
   gtk_show_about_dialog (GTK_WINDOW (window),
                          "version", VERSION,
                          "logo-icon-name", "tasks",
-                         "copyright", "Copyright \302\251 2007-2008 OpenedHand Ltd",
+                         "copyright", COPYRIGHT_STRING,
                          "authors", authors,
                          "artists", artists,
                          "translator-credits", _("translator-credits"),
@@ -470,6 +463,7 @@ on_about_action (GtkAction *action, gpointer user_data)
                          "website", "http://pimlico-project.org";,
                          "website-label", _("The Pimlico Project"),
                          NULL);
+#undef COPYRIGHT_STRING
 }
 
 static const GtkActionEntry actions[] =



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