diff options
author | Alexander Gluzsky <sss123next@list.ru> | 2013-04-21 01:13:34 +0000 |
---|---|---|
committer | Alexander Gluzsky <sss123next@list.ru> | 2013-04-21 01:13:34 +0000 |
commit | ad342afa257eea4160e9c628a7792617245e9323 (patch) | |
tree | ba2d1be2f518523f2bc21edc8c27db1ca2f6a7f5 /plugins | |
parent | 303d55bea87c9a33267f5d1b351f883b0da78ddd (diff) |
fixed srmm icons flags
git-svn-id: http://svn.miranda-ng.org/main/trunk@4494 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/New_GPG/src/icons.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/New_GPG/src/icons.cpp b/plugins/New_GPG/src/icons.cpp index 0f436b53cc..4c7b100023 100755 --- a/plugins/New_GPG/src/icons.cpp +++ b/plugins/New_GPG/src/icons.cpp @@ -63,7 +63,7 @@ void setSrmmIcon(HANDLE h) {
HANDLE hContact = metaIsProtoMetaContacts(h)?metaGetMostOnline(h):h;
bool enabled = isContactSecured(hContact);
- HANDLE hMC = hContact;
+ HANDLE hMC = NULL;
if(metaIsSubcontact(hContact))
hMC = metaGetContact(hContact);
else if(metaIsProtoMetaContacts(hContact))
@@ -80,6 +80,7 @@ void setSrmmIcon(HANDLE h) sid.hIcon = IconLibGetIcon("unsecured");
sid.dwId = 2;
+ sid.flags = enabled ? MBF_HIDDEN : 0;
Srmm_ModifyIcon(hContact, &sid);
if(hMC)
Srmm_ModifyIcon(hMC, &sid);
|