X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fabout.c;h=e743fcf61dbfa7b8128c277b7c59e32dd4c49e9c;hb=62215e63f11b18112899541b29b3151e25f7eb6e;hp=b6c02203b312cb723d24190632431f15b4c3bf20;hpb=ee08e284e9722ddc0fb785c5f9af09bcb6fa8a47;p=pspp-builds.git diff --git a/src/ui/gui/about.c b/src/ui/gui/about.c index b6c02203..e743fcf6 100644 --- a/src/ui/gui/about.c +++ b/src/ui/gui/about.c @@ -1,21 +1,18 @@ -/* - PSPPIRE --- A Graphical User Interface for PSPP - Copyright (C) 2006, 2007 Free Software Foundation +/* PSPPIRE - a graphical user interface for PSPP. + Copyright (C) 2006, 2007 Free Software Foundation - This program 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. + This program 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 3 of the License, or + (at your option) any later version. - This program 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. + This program 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. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. */ + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ #include @@ -23,10 +20,12 @@ #include #include +#include #include #include "about.h" #include "helper.h" + const static gchar *artists[] = { "Patrick Brunier", "Dondi Bogusky", NULL}; void @@ -58,6 +57,10 @@ about_new (GtkMenuItem *m, GtkWindow *parent) gtk_about_dialog_set_artists (GTK_ABOUT_DIALOG (about), artists); + gtk_about_dialog_set_license (GTK_ABOUT_DIALOG (about), + copyleft); + + gtk_window_set_transient_for (GTK_WINDOW (about), parent); gtk_window_set_modal (GTK_WINDOW (about), TRUE);