summary refs log tree commit diff stats
path: root/src/fe-gtk/plugingui.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-18 20:16:35 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-18 20:16:35 +0200
commitcb2f9f3e7bb3124a95a723f1a7678c28e2bb0644 (patch)
tree9093733dc218025823cc93fa51d1e4d48df67509 /src/fe-gtk/plugingui.c
parentb63a4ced195f720c832c3c0c05035fdfd065638c (diff)
Use GTK+ file dialogs on Windows too, the Win32 dialogs are too buggy
Diffstat (limited to 'src/fe-gtk/plugingui.c')
-rw-r--r--src/fe-gtk/plugingui.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fe-gtk/plugingui.c b/src/fe-gtk/plugingui.c
index 0f316f09..33b27663 100644
--- a/src/fe-gtk/plugingui.c
+++ b/src/fe-gtk/plugingui.c
@@ -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