-DVERSION erased for project options (was used for about dialog)
information for the about dialog moved to the glade file
This commit is contained in:
parent
3fd94b6e71
commit
3ddb6fac02
|
@ -10,7 +10,7 @@ Libs=d:\Dev-Cpp\lib;d:\GTK\LIB;d:\GTK\lib\glib-2.0;d:\GTK\lib\gtk-2.0;d:\GTK\lib
|
||||||
PrivateResource=
|
PrivateResource=
|
||||||
ResourceIncludes=
|
ResourceIncludes=
|
||||||
MakeIncludes=
|
MakeIncludes=
|
||||||
Compiler=-DVERSION=\"0.5.0\"_@@_-DHAVE_LIBZ=1_@@_-DHAVE_LIBGDKGLEXT_X11_1_0=1_@@_-mms-bitfields_@@_-rdynamic_@@_-shared_@@__@@_
|
Compiler=-DHAVE_LIBZ=1_@@_-DHAVE_LIBGDKGLEXT_X11_1_0=1_@@_-mms-bitfields_@@_-rdynamic_@@_-shared_@@__@@_
|
||||||
CppCompiler=
|
CppCompiler=
|
||||||
Linker=d:/GTK/lib/z.lib_@@_d:/GTK/lib/atk-1.0.lib_@@_d:/GTK/lib/cairo.lib_@@_d:/GTK/lib/gdk_pixbuf-2.0.lib_@@_d:/GTK/lib/gdk-win32-2.0.lib_@@_d:/GTK/lib/glade-2.0.lib_@@_d:/GTK/lib/glib-2.0.lib_@@_d:/GTK/lib/gmodule-2.0.lib_@@_d:/GTK/lib/gobject-2.0.lib_@@_d:/GTK/lib/gtk-win32-2.0.lib_@@_d:/GTK/lib/pango-1.0.lib_@@_d:/GTK/lib/pangocairo-1.0.lib_@@_d:/GTK/lib/pangowin32-1.0.lib_@@_d:/GTK/lib/xml2.lib_@@_D:/Dev-Cpp/dll/SDL.dll_@@_D:/Dev-Cpp/lib/libSDL.dll.a_@@_D:/Dev-Cpp/lib/libopengl32.a_@@_D:/GTK/lib/libgdkglext-win32-1.0.dll.a_@@_D:/GTK/lib/gtkglext-win32-1.0.lib_@@_
|
Linker=d:/GTK/lib/z.lib_@@_d:/GTK/lib/atk-1.0.lib_@@_d:/GTK/lib/cairo.lib_@@_d:/GTK/lib/gdk_pixbuf-2.0.lib_@@_d:/GTK/lib/gdk-win32-2.0.lib_@@_d:/GTK/lib/glade-2.0.lib_@@_d:/GTK/lib/glib-2.0.lib_@@_d:/GTK/lib/gmodule-2.0.lib_@@_d:/GTK/lib/gobject-2.0.lib_@@_d:/GTK/lib/gtk-win32-2.0.lib_@@_d:/GTK/lib/pango-1.0.lib_@@_d:/GTK/lib/pangocairo-1.0.lib_@@_d:/GTK/lib/pangowin32-1.0.lib_@@_d:/GTK/lib/xml2.lib_@@_D:/Dev-Cpp/dll/SDL.dll_@@_D:/Dev-Cpp/lib/libSDL.dll.a_@@_D:/Dev-Cpp/lib/libopengl32.a_@@_D:/GTK/lib/libgdkglext-win32-1.0.dll.a_@@_D:/GTK/lib/gtkglext-win32-1.0.lib_@@_
|
||||||
IsCpp=0
|
IsCpp=0
|
||||||
|
|
|
@ -367,33 +367,8 @@ void on_menu_wtoolsXX_activate (GtkMenuItem *menuitem, gpointer user_data)
|
||||||
/* About dialog
|
/* About dialog
|
||||||
FIXME: Add proper copyright */
|
FIXME: Add proper copyright */
|
||||||
void on_menu_apropos_activate (GtkMenuItem *menuitem, gpointer user_data) {
|
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");
|
GtkAboutDialog * wAbout = (GtkAboutDialog*)glade_xml_get_widget(xml, "wAboutDlg");
|
||||||
gtk_about_dialog_set_version(wAbout, VERSION);
|
gtk_widget_show(wAbout);
|
||||||
gtk_about_dialog_set_authors(wAbout, authors);
|
|
||||||
gtk_dialog_run(wAbout);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue