Use GTK+ file dialogs on Windows too, the Win32 dialogs are too buggy

This commit is contained in:
Berke Viktor
2012-07-18 20:16:35 +02:00
parent b63a4ced19
commit cb2f9f3e7b
4 changed files with 15 additions and 1 deletions

View File

@@ -147,12 +147,14 @@ void
plugingui_load (void)
{
gtkutil_file_req (_("Select a Plugin or Script to load"), plugingui_load_cb, current_sess,
#if 0 /* native file dialogs */
#ifdef WIN32
"Plugins and Scripts\0*.dll;*.lua;*.pl;*.py;*.tcl\0"
"All files\0*.*\0\0", 0);
#else
NULL, FRF_ADDFOLDER);
#endif
#endif /* native file dialogs */
NULL, FRF_ADDFOLDER);
}
static void