diff options
author | George Hazan <george.hazan@gmail.com> | 2013-06-17 21:24:53 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-06-17 21:24:53 +0000 |
commit | 5ab0462a05c80e52a629255353405d7e5c39e304 (patch) | |
tree | 84a90be689d517efa8b0c9723724856ce66b4fec /plugins/Clist_modern | |
parent | dab6220221dd014aa8490a8f56561b383507304e (diff) |
PS_GETCUSTOMSTATUSICON used instead of raw text
git-svn-id: http://svn.miranda-ng.org/main/trunk@5005 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r-- | plugins/Clist_modern/src/modern_clistmod.cpp | 2 | ||||
-rw-r--r-- | plugins/Clist_modern/src/modern_statusbar.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_clistmod.cpp b/plugins/Clist_modern/src/modern_clistmod.cpp index 6fd2978021..db2b694093 100644 --- a/plugins/Clist_modern/src/modern_clistmod.cpp +++ b/plugins/Clist_modern/src/modern_clistmod.cpp @@ -64,7 +64,7 @@ HICON cliGetIconFromStatusMode(HANDLE hContact, const char *szProto,int status) // check service exists
char str[MAXMODULELABELLENGTH];
strcpy(str,szProto);
- strcat(str,"/GetXStatusIcon");
+ strcat(str,PS_GETCUSTOMSTATUSICON);
if ( ServiceExists(str)) {
// check status is online
if (status > ID_STATUS_OFFLINE) {
diff --git a/plugins/Clist_modern/src/modern_statusbar.cpp b/plugins/Clist_modern/src/modern_statusbar.cpp index 0c8e13521e..a8eef4b790 100644 --- a/plugins/Clist_modern/src/modern_statusbar.cpp +++ b/plugins/Clist_modern/src/modern_statusbar.cpp @@ -382,7 +382,7 @@ int ModernDrawStatusBarWorker(HWND hWnd, HDC hDC) if ((p.xStatusMode & 3)) {
if (p.ProtoStatus > ID_STATUS_OFFLINE) {
char str[MAXMODULELABELLENGTH];
- mir_snprintf(str, SIZEOF(str), "%s/GetXStatusIcon", p.AccountName);
+ mir_snprintf(str, SIZEOF(str), "%s%s", p.AccountName, PS_GETCUSTOMSTATUSICON);
if ( ServiceExists(str))
p.extraIcon = (HICON)CallService(str, 0, 0);
if (p.extraIcon && (p.xStatusMode & 3) == 3)
@@ -468,7 +468,7 @@ int ModernDrawStatusBarWorker(HWND hWnd, HDC hDC) if (p.showProtoIcon) {
if (p.ProtoStatus > ID_STATUS_OFFLINE && (p.xStatusMode & 3) > 0) {
char str[MAXMODULELABELLENGTH];
- mir_snprintf(str, SIZEOF(str), "%s/GetXStatusIcon", p.AccountName);
+ mir_snprintf(str, SIZEOF(str), "%s%s", p.AccountName, PS_GETCUSTOMSTATUSICON);
if ( ServiceExists(str)) {
hxIcon = p.extraIcon;
if (hxIcon) {
|