diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-07-13 23:17:29 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-07-13 23:17:29 +0200 |
commit | a9c8ab916b2106efce25b8b58ec850031a2dfbf3 (patch) | |
tree | a864f236294b7f6adcb0b3c57b015b761481d8c1 /src/common | |
parent | 25a9a60bab6e795367d402b82b0c9a19bfcc4f4d (diff) |
Rename X-Tray to HexTray
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/util.c | 4 | ||||
-rw-r--r-- | src/common/util.h | 2 | ||||
-rw-r--r-- | src/common/xchat.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/common/util.c b/src/common/util.c index 27f0aa40..74146b21 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -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; } diff --git a/src/common/util.h b/src/common/util.h index 82d74366..c2f1e118 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -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 diff --git a/src/common/xchat.c b/src/common/xchat.c index 1b9fd5a7..da33edbe 100644 --- a/src/common/xchat.c +++ b/src/common/xchat.c @@ -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); |