Added credits to about dialog.

This commit is contained in:
evilynux 2007-02-13 17:10:51 +00:00
parent a52fbce6f9
commit 0d76a6288a
1 changed files with 30 additions and 13 deletions

View File

@ -363,23 +363,40 @@ void on_menu_wtoolsXX_activate (GtkMenuItem *menuitem, gpointer user_data)
}
/* MENU ? ***** ***** ***** ***** */
/* About dialog
FIXME: We should add credits here... */
void on_menu_apropos_activate (GtkMenuItem *menuitem, gpointer user_data) {
GtkAboutDialog * wAbout = (GtkAboutDialog*)glade_xml_get_widget(xml, "wAboutDlg");
gtk_about_dialog_set_version(wAbout, VERSION);
gtk_dialog_run(wAbout);
/* About dialog
FIXME: Add proper copyright */
void on_menu_apropos_activate (GtkMenuItem *menuitem, gpointer user_data) {
const gchar * authors[] =
{ "Original author:",
" yopyop (now inactive)",
"",
"Current team:",
" Allustar",
" amponzi",
" ape",
" delfare",
" Guillaume Duhamel",
" Normmatt",
" Romain Vallet",
" shash",
" Theo Berkau",
" thoduv",
" Tim Seidel (Mighty Max)",
" Damien Nozay (damdoum)",
" Pascal Giard (evilynux)",
"",
"Contributors:",
" Anthony Molinaro",
NULL };
GtkAboutDialog * wAbout = (GtkAboutDialog*)glade_xml_get_widget(xml, "wAboutDlg");
gtk_about_dialog_set_version(wAbout, VERSION);
gtk_about_dialog_set_authors(wAbout, authors);
gtk_dialog_run(wAbout);
}
/* TOOLBAR ***** ***** ***** ***** */
void on_wgt_Open_clicked (GtkToolButton *toolbutton, gpointer user_data) { file_open(); }
void on_wgt_Reset_clicked (GtkToolButton *toolbutton, gpointer user_data) { desmume_reset(); }