[gnome-mines] About dialog: use GtkLicense



commit 227f87b8ff4a39f8325fe93423b13b84a0f1611c
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Nov 19 11:31:45 2013 -0600

    About dialog: use GtkLicense

 src/gnome-mines.vala |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/gnome-mines.vala b/src/gnome-mines.vala
index d2cd1c2..e220a40 100644
--- a/src/gnome-mines.vala
+++ b/src/gnome-mines.vala
@@ -681,8 +681,6 @@ public class Mines : Gtk.Application
             null
         };
 
-        var license = "Mines 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\nMines 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 Mines; if not, write to the Free Software Foundation, Inc., 51 Franklin 
Street, Fifth Floor, Boston, MA 02110-1301 USA";
-
         Gtk.show_about_dialog (window,
                                "name", _("Mines"),
                                "version", VERSION,
@@ -690,7 +688,7 @@ public class Mines : Gtk.Application
                                _("Clear explosive mines off the board\n\nMines is a part of GNOME Games."),
                                "copyright",
                                "Copyright \xc2\xa9 1997-2008 Free Software Foundation, Inc.",
-                               "license", license,
+                               "license-type", Gtk.License.GPL_2_0,
                                "authors", authors,
                                "artists", artists,
                                "documenters", documenters,
@@ -698,7 +696,7 @@ public class Mines : Gtk.Application
                                "logo-icon-name", "gnome-mines", "website",
                                "http://www.gnome.org/projects/gnome-games/";,
                                "website-label", _("GNOME Games web site"),
-                               "wrap-license", true, null);
+                               null);
     }
 
     private void set_n_mines_limit ()


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