From de45a83c4715bd42fff800ddd9db36221a6e63ed Mon Sep 17 00:00:00 2001 From: bgk Date: Sat, 1 Nov 2008 12:55:42 +0000 Subject: [PATCH] GTK : Updated the license and copyright informations in the about box --- src/gtk/windowcallbacks.cpp | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/gtk/windowcallbacks.cpp b/src/gtk/windowcallbacks.cpp index 5561c4b5..f03e8c30 100644 --- a/src/gtk/windowcallbacks.cpp +++ b/src/gtk/windowcallbacks.cpp @@ -568,13 +568,27 @@ void Window::vOnDisplayConfigure() void Window::vOnHelpAbout() { Gtk::AboutDialog oAboutDialog; + const char csGPLHeader[] = "This program is free software: you can redistribute it and/or modify\n" + "it under the terms of the GNU General Public License as published by\n" + "the Free Software Foundation, either version 2 of the License, or\n" + "(at your option) any later version.\n\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program. If not, see ."; + const char csCopyright[] = "Copyright (C) 1999-2003 Forgotten\n" + "Copyright (C) 2004-2006 VBA development team\n" + "Copyright (C) 2007-2008 VBA-M development team"; oAboutDialog.set_transient_for(*this); oAboutDialog.set_name("VBA-M"); oAboutDialog.set_version(VERSION); oAboutDialog.set_comments(_("Nintendo GameBoy Advance emulator.")); - oAboutDialog.set_license("GPL"); + oAboutDialog.set_license(csGPLHeader); + oAboutDialog.set_copyright(csCopyright); oAboutDialog.set_logo_icon_name("vbam"); oAboutDialog.set_website("http://vba-m.ngemu.com/");