diff options
author | George Hazan <george.hazan@gmail.com> | 2014-06-15 14:18:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-06-15 14:18:25 +0000 |
commit | fa3c28549bc4a00c24abd933455fe440a536fd2a (patch) | |
tree | 5648e5759c49c4b0f937a5ea557f472be28c1584 /plugins/TabSRMM/src/msgdlgutils.cpp | |
parent | 4bd0aa857bb64720bfb590f3ef8e955f7d617ff8 (diff) |
options for meta icons displaying in tabSRMM
git-svn-id: http://svn.miranda-ng.org/main/trunk@9501 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdlgutils.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp index 7a82c97bcf..8863726e61 100644 --- a/plugins/TabSRMM/src/msgdlgutils.cpp +++ b/plugins/TabSRMM/src/msgdlgutils.cpp @@ -2210,8 +2210,11 @@ void TSAPI GetMyNick(TWindowData *dat) mir_free(ci.pszVal);
}
-HICON TSAPI MY_GetContactIcon(const TWindowData *dat)
+HICON TSAPI MY_GetContactIcon(const TWindowData *dat, LPCSTR szSetting)
{
+ int bUseMeta = (szSetting == NULL) ? false : M.GetByte(szSetting, true);
+ if (bUseMeta)
+ return LoadSkinnedProtoIcon(dat->cache->getProto(), dat->cache->getStatus());
return LoadSkinnedProtoIcon(dat->cache->getActiveProto(), dat->cache->getActiveStatus());
}
|