[gnome-calculator] About dialog: use GtkLicense
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] About dialog: use GtkLicense
- Date: Tue, 4 Feb 2014 19:21:17 +0000 (UTC)
commit 8c3b48be224ef918a1964480861a9c38b304321e
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Tue Feb 4 13:20:12 2014 -0600
About dialog: use GtkLicense
src/gnome-calculator.vala | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-calculator.vala b/src/gnome-calculator.vala
index b2fa028..d272352 100644
--- a/src/gnome-calculator.vala
+++ b/src/gnome-calculator.vala
@@ -247,8 +247,6 @@ public class Calculator : Gtk.Application
/* The translator credits. Please translate this with your name (s). */
var translator_credits = _("translator-credits");
- var license = "This program is free software; you can redistribute it and/or modify\nit under the
terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of
the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will
be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy
of the GNU General Public License\nalong with this program; if not, write to the Free Software Foundation,
Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA";
-
Gtk.show_about_dialog (window,
"program-name",
/* Program name in the about dialog */
@@ -257,7 +255,7 @@ public class Calculator : Gtk.Application
"version", VERSION,
"copyright",
"\xc2\xa9 1986–2012 The Calculator authors",
- "license", license,
+ "license-type", Gtk.License.GPL_2_0,
"comments",
/* Short description in the about dialog */
_("Calculator with financial and scientific modes."),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]