[gnome-tetravex] About dialog: use GtkLicense



commit ab71247089cf2fc4c90dfad8b1d676bbe1b19e90
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Jan 20 19:58:50 2014 -0600

    About dialog: use GtkLicense

 src/gnome-tetravex.vala |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-tetravex.vala b/src/gnome-tetravex.vala
index ea085dc..626854e 100644
--- a/src/gnome-tetravex.vala
+++ b/src/gnome-tetravex.vala
@@ -307,7 +307,6 @@ public class Tetravex : Gtk.Application
     {
         string[] authors = { "Lars Rydlinge", "Robert Ancell", null };
         string[] documenters = { "Rob Bradford", null };
-        var license = "Tetravex 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\nTetravex 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\nYou should have received a copy 
of the GNU General Public License along with Tetravex; if not, write to the Free Software Foundation, Inc., 
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA";
         Gtk.show_about_dialog (window,
                                "program-name", _("Tetravex"),
                                "version", VERSION,
@@ -315,7 +314,7 @@ public class Tetravex : Gtk.Application
                                _("Position pieces so that the same numbers are touching each 
other\n\nTetravex is a part of GNOME Games."),
                                "copyright",
                                "Copyright © 1999–2008 Lars Rydlinge",
-                               "license", license,
+                               "license-type", Gtk.License.GPL_2_0,
                                "wrap-license", true,
                                "authors", authors,
                                "documenters", documenters,


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