some left out from build system cleanup + re-enable plugin-tray and disable xtray, tray icon is fixed in gtk head
This commit is contained in:
parent
9a4b218526
commit
c5a9da7593
|
@ -38,6 +38,6 @@ copy ..\plugins\python\xcpython.dll %XCHAT_DEST%\plugins\xcpython.dll.x64
|
||||||
copy ..\plugins\tcl\xctcl.dll %XCHAT_DEST%\plugins\xctcl.dll.x64
|
copy ..\plugins\tcl\xctcl.dll %XCHAT_DEST%\plugins\xctcl.dll.x64
|
||||||
copy ..\plugins\upd\xcupd.dll %XCHAT_DEST%\plugins\xcupd.dll.x64
|
copy ..\plugins\upd\xcupd.dll %XCHAT_DEST%\plugins\xcupd.dll.x64
|
||||||
copy ..\plugins\xdcc\xcxdcc.dll %XCHAT_DEST%\plugins\xcxdcc.dll.x64
|
copy ..\plugins\xdcc\xcxdcc.dll %XCHAT_DEST%\plugins\xcxdcc.dll.x64
|
||||||
copy ..\plugins\xtray\xtray.dll %XCHAT_DEST%\plugins\xtray.dll.x64
|
::copy ..\plugins\xtray\xtray.dll %XCHAT_DEST%\plugins\xtray.dll.x64
|
||||||
copy ..\plugins\winamp\xcwinamp.dll %XCHAT_DEST%\plugins\xcwinamp.dll.x64
|
copy ..\plugins\winamp\xcwinamp.dll %XCHAT_DEST%\plugins\xcwinamp.dll.x64
|
||||||
copy %DEPS_ROOT%\bin\lua51.dll %XCHAT_DEST%\lua51.dll.x64
|
copy %DEPS_ROOT%\bin\lua51.dll %XCHAT_DEST%\lua51.dll.x64
|
||||||
|
|
|
@ -50,7 +50,7 @@ copy ..\plugins\python\xcpython.dll %XCHAT_DEST%\plugins
|
||||||
copy ..\plugins\tcl\xctcl.dll %XCHAT_DEST%\plugins
|
copy ..\plugins\tcl\xctcl.dll %XCHAT_DEST%\plugins
|
||||||
copy ..\plugins\upd\xcupd.dll %XCHAT_DEST%\plugins
|
copy ..\plugins\upd\xcupd.dll %XCHAT_DEST%\plugins
|
||||||
copy ..\plugins\xdcc\xcxdcc.dll %XCHAT_DEST%\plugins
|
copy ..\plugins\xdcc\xcxdcc.dll %XCHAT_DEST%\plugins
|
||||||
copy ..\plugins\xtray\xtray.dll %XCHAT_DEST%\plugins
|
::copy ..\plugins\xtray\xtray.dll %XCHAT_DEST%\plugins
|
||||||
copy ..\plugins\winamp\xcwinamp.dll %XCHAT_DEST%\plugins
|
copy ..\plugins\winamp\xcwinamp.dll %XCHAT_DEST%\plugins
|
||||||
copy %DEPS_ROOT%\bin\lua51.dll %XCHAT_DEST%
|
copy %DEPS_ROOT%\bin\lua51.dll %XCHAT_DEST%
|
||||||
xcopy /q /s /i ..\po\locale %XCHAT_DEST%\locale
|
xcopy /q /s /i ..\po\locale %XCHAT_DEST%\locale
|
||||||
|
|
|
@ -222,9 +222,9 @@ Source: "plugins\xcperl-512.dll.x64"; DestDir: "{app}\plugins"; DestName: "xcper
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Source: "plugins\xtray.dll"; DestDir: "{app}\plugins"; Components: libs; Tasks: x86
|
;Source: "plugins\xtray.dll"; DestDir: "{app}\plugins"; Components: libs; Tasks: x86
|
||||||
; and xtray
|
; and xtray
|
||||||
Source: "plugins\xtray.dll.x64"; DestDir: "{app}\plugins"; DestName: "xtray.dll"; Components: libs; Tasks: x64
|
;Source: "plugins\xtray.dll.x64"; DestDir: "{app}\plugins"; DestName: "xtray.dll"; Components: libs; Tasks: x64
|
||||||
; and xtray
|
; and xtray
|
||||||
|
|
||||||
[Icons]
|
[Icons]
|
||||||
|
|
|
@ -11,8 +11,8 @@ all:
|
||||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||||
@cd ..\xdcc
|
@cd ..\xdcc
|
||||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||||
@cd ..\xtray
|
# @cd ..\xtray
|
||||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
# @-$(MAKE) /nologo /s /f makefile.mak $@
|
||||||
@cd ..\winamp
|
@cd ..\winamp
|
||||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||||
|
|
||||||
|
@ -47,11 +47,11 @@ clean:
|
||||||
@del xdcc\*.exp
|
@del xdcc\*.exp
|
||||||
@del xdcc\*.lib
|
@del xdcc\*.lib
|
||||||
@del xdcc\*.obj
|
@del xdcc\*.obj
|
||||||
@del xtray\*.def
|
# @del xtray\*.def
|
||||||
@del xtray\*.dll
|
# @del xtray\*.dll
|
||||||
@del xtray\*.exp
|
# @del xtray\*.exp
|
||||||
@del xtray\*.lib
|
# @del xtray\*.lib
|
||||||
@del xtray\*.obj
|
# @del xtray\*.obj
|
||||||
@del winamp\*.def
|
@del winamp\*.def
|
||||||
@del winamp\*.dll
|
@del winamp\*.dll
|
||||||
@del winamp\*.exp
|
@del winamp\*.exp
|
||||||
|
|
|
@ -385,25 +385,25 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/outbound.c xchat-wdk/src
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/plugin-timer.c xchat-wdk/src/common/plugin-timer.c
|
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/plugin-timer.c xchat-wdk/src/common/plugin-timer.c
|
||||||
--- xchat-wdk.orig/src/common/plugin-timer.c 2005-02-02 11:03:51 +0100
|
--- xchat-wdk.orig/src/common/plugin-timer.c 2005-02-02 11:03:51 +0100
|
||||||
+++ xchat-wdk/src/common/plugin-timer.c 2010-10-09 12:53:27 +0200
|
+++ xchat-wdk/src/common/plugin-timer.c 2010-10-29 19:33:21 +0200
|
||||||
@@ -1,7 +1,7 @@
|
@@ -1,7 +1,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
-#include "xchat-plugin.h"
|
-#include "xchat-plugin.h"
|
||||||
+#include <xchat-plugin.h>
|
+#include "../../plugins/xchat-plugin.h"
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#define strcasecmp stricmp
|
#define strcasecmp stricmp
|
||||||
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/plugin.c xchat-wdk/src/common/plugin.c
|
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/plugin.c xchat-wdk/src/common/plugin.c
|
||||||
--- xchat-wdk.orig/src/common/plugin.c 2010-08-14 03:46:21 +0200
|
--- xchat-wdk.orig/src/common/plugin.c 2010-08-14 03:46:21 +0200
|
||||||
+++ xchat-wdk/src/common/plugin.c 2010-10-09 12:53:27 +0200
|
+++ xchat-wdk/src/common/plugin.c 2010-10-29 19:32:39 +0200
|
||||||
@@ -34,7 +34,7 @@
|
@@ -34,7 +34,7 @@
|
||||||
#include "text.h"
|
#include "text.h"
|
||||||
#define PLUGIN_C
|
#define PLUGIN_C
|
||||||
typedef struct session xchat_context;
|
typedef struct session xchat_context;
|
||||||
-#include "xchat-plugin.h"
|
-#include "xchat-plugin.h"
|
||||||
+#include <xchat-plugin.h>
|
+#include "../../plugins/xchat-plugin.h"
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -708,7 +708,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/util.c xchat-wdk/src/com
|
||||||
|
|
||||||
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/xchat.c xchat-wdk/src/common/xchat.c
|
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/xchat.c xchat-wdk/src/common/xchat.c
|
||||||
--- xchat-wdk.orig/src/common/xchat.c 2008-06-08 09:58:58 +0200
|
--- xchat-wdk.orig/src/common/xchat.c 2008-06-08 09:58:58 +0200
|
||||||
+++ xchat-wdk/src/common/xchat.c 2010-10-09 12:53:27 +0200
|
+++ xchat-wdk/src/common/xchat.c 2010-10-29 19:33:53 +0200
|
||||||
@@ -22,7 +22,6 @@
|
@@ -22,7 +22,6 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -722,7 +722,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/xchat.c xchat-wdk/src/co
|
||||||
#include "chanopt.h"
|
#include "chanopt.h"
|
||||||
#include "ignore.h"
|
#include "ignore.h"
|
||||||
-#include "xchat-plugin.h"
|
-#include "xchat-plugin.h"
|
||||||
+#include <xchat-plugin.h>
|
+#include "../../plugins/xchat-plugin.h"
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
#include "plugin-timer.h"
|
#include "plugin-timer.h"
|
||||||
#include "notify.h"
|
#include "notify.h"
|
||||||
|
@ -1309,7 +1309,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/joind.c xchat-wdk/src/fe
|
||||||
|
|
||||||
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/maingui.c xchat-wdk/src/fe-gtk/maingui.c
|
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/maingui.c xchat-wdk/src/fe-gtk/maingui.c
|
||||||
--- xchat-wdk.orig/src/fe-gtk/maingui.c 2010-05-16 05:20:22 +0200
|
--- xchat-wdk.orig/src/fe-gtk/maingui.c 2010-05-16 05:20:22 +0200
|
||||||
+++ xchat-wdk/src/fe-gtk/maingui.c 2010-10-09 19:06:21 +0200
|
+++ xchat-wdk/src/fe-gtk/maingui.c 2010-11-08 11:14:47 +0100
|
||||||
@@ -214,60 +214,10 @@
|
@@ -214,60 +214,10 @@
|
||||||
away_list = mg_attr_list_create (&colors[COL_AWAY], FALSE);
|
away_list = mg_attr_list_create (&colors[COL_AWAY], FALSE);
|
||||||
}
|
}
|
||||||
|
@ -1407,21 +1407,6 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/maingui.c xchat-wdk/src/
|
||||||
gtk_widget_show (dialog);
|
gtk_widget_show (dialog);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1327,12 +1280,12 @@
|
|
||||||
gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1),
|
|
||||||
GTK_BUTTONBOX_END);
|
|
||||||
|
|
||||||
- if (minimize_button)
|
|
||||||
+ /* if (minimize_button)
|
|
||||||
{
|
|
||||||
button = gtk_button_new_with_mnemonic (_("_Minimize to Tray"));
|
|
||||||
gtk_widget_show (button);
|
|
||||||
gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, 1);
|
|
||||||
- }
|
|
||||||
+ } */
|
|
||||||
|
|
||||||
button = gtk_button_new_from_stock ("gtk-cancel");
|
|
||||||
gtk_widget_show (button);
|
|
||||||
@@ -2489,7 +2442,7 @@
|
@@ -2489,7 +2442,7 @@
|
||||||
if (prefs.lagometer & 1)
|
if (prefs.lagometer & 1)
|
||||||
{
|
{
|
||||||
|
@ -1488,14 +1473,14 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/palette.c xchat-wdk/src/
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/plugin-tray.c xchat-wdk/src/fe-gtk/plugin-tray.c
|
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/plugin-tray.c xchat-wdk/src/fe-gtk/plugin-tray.c
|
||||||
--- xchat-wdk.orig/src/fe-gtk/plugin-tray.c 2010-08-14 03:46:21 +0200
|
--- xchat-wdk.orig/src/fe-gtk/plugin-tray.c 2010-08-14 03:46:21 +0200
|
||||||
+++ xchat-wdk/src/fe-gtk/plugin-tray.c 2010-10-09 12:53:27 +0200
|
+++ xchat-wdk/src/fe-gtk/plugin-tray.c 2010-11-08 11:01:30 +0100
|
||||||
@@ -1,8 +1,7 @@
|
@@ -1,8 +1,7 @@
|
||||||
/* Copyright (C) 2006-2007 Peter Zelezny. */
|
/* Copyright (C) 2006-2007 Peter Zelezny. */
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
-#include <unistd.h>
|
-#include <unistd.h>
|
||||||
-#include "../common/xchat-plugin.h"
|
-#include "../common/xchat-plugin.h"
|
||||||
+#include <xchat-plugin.h>
|
+#include "../../plugins/xchat-plugin.h"
|
||||||
#include "../common/xchat.h"
|
#include "../common/xchat.h"
|
||||||
#include "../common/xchatc.h"
|
#include "../common/xchatc.h"
|
||||||
#include "../common/inbound.h"
|
#include "../common/inbound.h"
|
||||||
|
@ -1595,33 +1580,15 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/plugin-tray.c xchat-wdk/
|
||||||
word[1], network);
|
word[1], network);
|
||||||
|
|
||||||
return XCHAT_EAT_NONE;
|
return XCHAT_EAT_NONE;
|
||||||
@@ -803,7 +802,7 @@
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
- if (prefs.gui_tray)
|
|
||||||
+ if (prefs.gui_tray && !((_access( "plugins/xtray.dll", 0 )) != -1))
|
|
||||||
tray_init ();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -835,7 +834,7 @@
|
|
||||||
|
|
||||||
xchat_hook_print (ph, "Focus Window", -1, tray_focus_cb, NULL);
|
|
||||||
|
|
||||||
- if (prefs.gui_tray)
|
|
||||||
+ if (prefs.gui_tray && !((_access( "plugins/xtray.dll", 0 )) != -1))
|
|
||||||
tray_init ();
|
|
||||||
|
|
||||||
return 1; /* return 1 for success */
|
|
||||||
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/plugingui.c xchat-wdk/src/fe-gtk/plugingui.c
|
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/plugingui.c xchat-wdk/src/fe-gtk/plugingui.c
|
||||||
--- xchat-wdk.orig/src/fe-gtk/plugingui.c 2010-05-16 05:20:22 +0200
|
--- xchat-wdk.orig/src/fe-gtk/plugingui.c 2010-05-16 05:20:22 +0200
|
||||||
+++ xchat-wdk/src/fe-gtk/plugingui.c 2010-10-09 15:11:47 +0200
|
+++ xchat-wdk/src/fe-gtk/plugingui.c 2010-10-29 19:34:09 +0200
|
||||||
@@ -35,7 +35,7 @@
|
@@ -35,7 +35,7 @@
|
||||||
#include "../common/xchat.h"
|
#include "../common/xchat.h"
|
||||||
#define PLUGIN_C
|
#define PLUGIN_C
|
||||||
typedef struct session xchat_context;
|
typedef struct session xchat_context;
|
||||||
-#include "../common/xchat-plugin.h"
|
-#include "../common/xchat-plugin.h"
|
||||||
+#include <xchat-plugin.h>
|
+#include "../../plugins/xchat-plugin.h"
|
||||||
#include "../common/plugin.h"
|
#include "../common/plugin.h"
|
||||||
#include "../common/util.h"
|
#include "../common/util.h"
|
||||||
#include "../common/outbound.h"
|
#include "../common/outbound.h"
|
||||||
|
@ -1673,7 +1640,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/servlistgui.c xchat-wdk/
|
||||||
gtk_box_set_spacing (GTK_BOX (vbuttonbox2), 3);
|
gtk_box_set_spacing (GTK_BOX (vbuttonbox2), 3);
|
||||||
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/setup.c xchat-wdk/src/fe-gtk/setup.c
|
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/setup.c xchat-wdk/src/fe-gtk/setup.c
|
||||||
--- xchat-wdk.orig/src/fe-gtk/setup.c 2008-02-08 10:04:45 +0100
|
--- xchat-wdk.orig/src/fe-gtk/setup.c 2008-02-08 10:04:45 +0100
|
||||||
+++ xchat-wdk/src/fe-gtk/setup.c 2010-10-09 19:02:18 +0200
|
+++ xchat-wdk/src/fe-gtk/setup.c 2010-11-08 11:03:31 +0100
|
||||||
@@ -109,13 +109,13 @@
|
@@ -109,13 +109,13 @@
|
||||||
N_("Give each person on IRC a different color"),0,0},
|
N_("Give each person on IRC a different color"),0,0},
|
||||||
{ST_TOGGLR, N_("Indent nick names"), P_OFFINTNL(indent_nicks),
|
{ST_TOGGLR, N_("Indent nick names"), P_OFFINTNL(indent_nicks),
|
||||||
|
@ -1692,20 +1659,6 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/setup.c xchat-wdk/src/fe
|
||||||
|
|
||||||
{ST_HEADER, N_("Time Stamps"),0,0,0},
|
{ST_HEADER, N_("Time Stamps"),0,0,0},
|
||||||
{ST_TOGGLE, N_("Enable time stamps"), P_OFFINTNL(timestamp),0,0,2},
|
{ST_TOGGLE, N_("Enable time stamps"), P_OFFINTNL(timestamp),0,0,2},
|
||||||
@@ -332,11 +332,11 @@
|
|
||||||
#ifndef WIN32
|
|
||||||
{ST_3OGGLE, N_("Show tray balloons on:"), 0, 0, (void *)balloonlist, 0},
|
|
||||||
#endif
|
|
||||||
- {ST_3OGGLE, N_("Blink tray icon on:"), 0, 0, (void *)trayblinklist, 0},
|
|
||||||
+ /* {ST_3OGGLE, N_("Blink tray icon on:"), 0, 0, (void *)trayblinklist, 0}, */
|
|
||||||
{ST_3OGGLE, N_("Blink task bar on:"), 0, 0, (void *)taskbarlist, 0},
|
|
||||||
{ST_3OGGLE, N_("Make a beep sound on:"), 0, 0, (void *)beeplist, 0},
|
|
||||||
|
|
||||||
- {ST_TOGGLE, N_("Enable system tray icon"), P_OFFINTNL(gui_tray), 0, 0, 0},
|
|
||||||
+ /* {ST_TOGGLE, N_("Enable system tray icon"), P_OFFINTNL(gui_tray), 0, 0, 0}, */
|
|
||||||
|
|
||||||
{ST_HEADER, N_("Highlighted Messages"),0,0,0},
|
|
||||||
{ST_LABEL, N_("Highlighted messages are ones where your nickname is mentioned, but also:"), 0, 0, 0, 1},
|
|
||||||
@@ -363,7 +363,6 @@
|
@@ -363,7 +363,6 @@
|
||||||
{ST_END, 0, 0, 0, 0, 0}
|
{ST_END, 0, 0, 0, 0, 0}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue