[swell-foop] About dialog: use GtkLicense



commit 649fe1849dbbdd0cc64d04684e5d2e8cab86e401
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Nov 19 11:55:34 2013 -0600

    About dialog: use GtkLicense

 src/swell-foop.vala |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/swell-foop.vala b/src/swell-foop.vala
index f3cdcbb..f0dc4d4 100644
--- a/src/swell-foop.vala
+++ b/src/swell-foop.vala
@@ -393,16 +393,13 @@ public class SwellFoop : Gtk.Application
         string[] artists = { "Tim Horton", null };
         string[] documenters = { null };
 
-        var license = "Swell Foop 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\nSwell Foop 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 Swell Foop; 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", _("Swell Foop"),
                                "version", VERSION,
                                "comments",
                                _("I want to play that game!\nYou know, they all light-up and you click on 
them and they vanish!\n\nSwell Foop is a part of GNOME Games."),
                                "copyright", _("Copyright \xc2\xa9 2009 Tim Horton"),
-                               "license", license,
-                               "wrap-license", true,
+                               "license-type", Gtk.License.GPL_2_0,
                                "authors", authors,
                                "artists", artists,
                                "documenters", documenters,


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