summary refs log tree commit diff stats
path: root/src/fe-gtk/plugingui.c
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-02-28 19:18:32 +0100
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-02-28 19:18:32 +0100
commit6355e6a76e73dfd3b8f49fcec524e7d2bbb5a11c (patch)
tree3f24aeb80bebcc90465b6e723d9fc10aa5e41d61 /src/fe-gtk/plugingui.c
parentd3330fbe6f3cdcf3cc43550bb61c3393eb7cd794 (diff)
parentdd58a0aa9e29efc87bcdb287b37018c1c6fd132e (diff)
merge with xchat r1490
Diffstat (limited to 'src/fe-gtk/plugingui.c')
-rw-r--r--src/fe-gtk/plugingui.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fe-gtk/plugingui.c b/src/fe-gtk/plugingui.c
index de59e649..0edfc62b 100644
--- a/src/fe-gtk/plugingui.c
+++ b/src/fe-gtk/plugingui.c
@@ -35,7 +35,7 @@
 #include "../common/xchat.h"
 #define PLUGIN_C
 typedef struct session xchat_context;
-#include "../common/xchat-plugin.h"
+#include "../../plugins/xchat-plugin.h"
 #include "../common/plugin.h"
 #include "../common/util.h"
 #include "../common/outbound.h"
@@ -147,7 +147,9 @@ void
 plugingui_load (void)
 {
 	gtkutil_file_req (_("Select a Plugin or Script to load"), plugingui_load_cb,
-							current_sess, NULL, FRF_ADDFOLDER);
+							current_sess,
+							"Plugins and Scripts\0*.dll;*.lua;*.pl;*.py;*.tcl\0"
+							"All files\0*.*\0\0", 0);
 }
 
 static void