mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-12 00:30:19 +00:00
Rename X-Tray to HexTray
This commit is contained in:
@@ -1885,10 +1885,10 @@ portable_mode ()
|
||||
}
|
||||
|
||||
int
|
||||
xtray_mode ()
|
||||
hextray_mode ()
|
||||
{
|
||||
#ifdef WIN32
|
||||
if ((_access( "plugins/xtray.dll", 0 )) != -1)
|
||||
if ((_access( "plugins/hextray.dll", 0 )) != -1)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -58,6 +58,6 @@ guint32 str_ihash (const unsigned char *key);
|
||||
void safe_strcpy (char *dest, const char *src, int bytes_left);
|
||||
void canonalize_key (char *key);
|
||||
int portable_mode ();
|
||||
int xtray_mode ();
|
||||
int hextray_mode ();
|
||||
|
||||
#endif
|
||||
|
||||
@@ -981,7 +981,7 @@ main (int argc, char *argv[])
|
||||
* only works correctly when X-Tray is used, but it's not a big deal
|
||||
* since you can only minimize XChat to tray via the taskbar if you
|
||||
* use X-Tray*/
|
||||
if (xtray_mode ())
|
||||
if (hextray_mode ())
|
||||
{
|
||||
/* FindWindow() doesn't support wildcards so we check all the open windows */
|
||||
EnumWindows (enum_windows_impl, NULL);
|
||||
|
||||
Reference in New Issue
Block a user