From cb2f9f3e7bb3124a95a723f1a7678c28e2bb0644 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Wed, 18 Jul 2012 20:16:35 +0200 Subject: Use GTK+ file dialogs on Windows too, the Win32 dialogs are too buggy --- src/fe-gtk/plugingui.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/fe-gtk/plugingui.c') 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 -- cgit 1.4.1