[gnome-klotski] About dialog: use GtkLicense



commit c8ddc70ede9f89171a8ceafa24351f86aeed4e75
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Nov 18 23:36:50 2013 -0600

    About dialog: use GtkLicense

 src/gnome-klotski.vala |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-klotski.vala b/src/gnome-klotski.vala
index ebe7170..e4e895e 100644
--- a/src/gnome-klotski.vala
+++ b/src/gnome-klotski.vala
@@ -966,7 +966,6 @@ public class Klotski : Gtk.Application
     {
         const string authors[] = { "Lars Rydlinge (original author)", "Robert Ancell (port to vala)", "John 
Cheetham (port to vala)", null };
         const string documenters[] = { "Andrew Sobala", null };
-        var license = "Klotski 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\nKlotski 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 Klotski; 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", _("Klotski"),
@@ -974,8 +973,7 @@ public class Klotski : Gtk.Application
                                "comments", _("Sliding block puzzles\n\nKlotski is a part of GNOME Games."),
                                "copyright",
                                "Copyright \xc2\xa9 1999-2008 Lars Rydlinge",
-                               "license", license,
-                               "wrap-license", true,
+                               "license-type", Gtk.License.GPL_2_0,
                                "authors", authors,
                                "documenters", documenters,
                                "translator-credits", _("translator-credits"),


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