[lightsoff] About dialog: use GtkLicense
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lightsoff] About dialog: use GtkLicense
- Date: Tue, 19 Nov 2013 05:44:38 +0000 (UTC)
commit 76785959dd3271708c66887d64755e35630d26e4
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Mon Nov 18 23:38:26 2013 -0600
About dialog: use GtkLicense
src/lightsoff.vala | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/lightsoff.vala b/src/lightsoff.vala
index 1084978..dd85818 100644
--- a/src/lightsoff.vala
+++ b/src/lightsoff.vala
@@ -151,8 +151,6 @@ public class LightsOff : Gtk.Application
"Eric Baudais",
null
};
-
- var license = "Lights Off 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\nLights Off 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 Lights Off; 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", _("Lights Off"),
@@ -160,8 +158,7 @@ public class LightsOff : Gtk.Application
"comments",
_("Turn off all the lights\n\nLights Off is a part of GNOME Games."),
"copyright", "Copyright © 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]