mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-13 01:00:19 +00:00
initial patches for linux compatibility
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
#include "../common/xchat.h"
|
||||
#define PLUGIN_C
|
||||
typedef struct session xchat_context;
|
||||
#include "../../plugins/xchat-plugin.h"
|
||||
#include "../common/xchat-plugin.h"
|
||||
#include "../common/plugin.h"
|
||||
#include "../common/util.h"
|
||||
#include "../common/outbound.h"
|
||||
@@ -146,10 +146,13 @@ plugingui_load_cb (session *sess, char *file)
|
||||
void
|
||||
plugingui_load (void)
|
||||
{
|
||||
gtkutil_file_req (_("Select a Plugin or Script to load"), plugingui_load_cb,
|
||||
current_sess,
|
||||
gtkutil_file_req (_("Select a Plugin or Script to load"), plugingui_load_cb, current_sess,
|
||||
#ifdef WIN32
|
||||
"Plugins and Scripts\0*.dll;*.lua;*.pl;*.py;*.tcl\0"
|
||||
"All files\0*.*\0\0", 0);
|
||||
#else
|
||||
NULL, FRF_ADDFOLDER);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user