/* * DO NOT EDIT THIS FILE - it is generated by Glade. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include #include #include #include #include #include "about_callbacks.h" #include "about.h" #include "support.h" #define GLADE_HOOKUP_OBJECT(component,widget,name) \ g_object_set_data_full (G_OBJECT (component), name, \ gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref) #define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \ g_object_set_data (G_OBJECT (component), name, widget) GtkWidget* create_about_window (void) { GtkWidget *about_window; const gchar *authors[] = { "Emanuele Madeo IZ0ETE ", NULL }; /* TRANSLATORS: Replace this string with your names, one name per line. */ gchar *translators = _("translator-credits"); about_window = gtk_about_dialog_new (); gtk_about_dialog_set_version (GTK_ABOUT_DIALOG (about_window), VERSION); gtk_about_dialog_set_name (GTK_ABOUT_DIALOG (about_window), _("Xwota")); gtk_about_dialog_set_copyright (GTK_ABOUT_DIALOG (about_window), _("Emanuele Madeo IZ0ETE")); gtk_about_dialog_set_comments (GTK_ABOUT_DIALOG (about_window), _("Gtk client for WOTA Database (http://www.wotadb.org)")); gtk_about_dialog_set_license (GTK_ABOUT_DIALOG (about_window), _("Copyright (C) Emanuele Madeo IZ0ETE \n\nThis 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 Library 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\nFoundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n")); gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (about_window), "http://people.fabaris.it/iz0ete"); gtk_about_dialog_set_authors (GTK_ABOUT_DIALOG (about_window), authors); gtk_about_dialog_set_translator_credits (GTK_ABOUT_DIALOG (about_window), translators); g_signal_connect ((gpointer) about_window, "delete_event", G_CALLBACK (on_about_window_delete_event), NULL); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (about_window, about_window, "about_window"); return about_window; }