mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-25 13:55:38 +00:00
Use GTK+ file dialogs on Windows too, the Win32 dialogs are too buggy
This commit is contained in:
1 parent
b63a4ced19
commit
cb2f9f3e7b
4 files changed
+15
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user