diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-07 18:48:03 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-07 22:40:54 +0300 |
commit | fab3905d91890102046dcc4554721991ae8ff413 (patch) | |
tree | 7514ac3e6739bf09447e9ff5c0926fee7bfe8155 /plugins/SecureIM | |
parent | 4138d31dd4609d4c29e7bd0dd8dcdedf5f3245b6 (diff) |
Skin_GetProtoIcon - new function to retrieve status icon's handle
Diffstat (limited to 'plugins/SecureIM')
-rw-r--r-- | plugins/SecureIM/src/svcs_srmm.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SecureIM/src/svcs_srmm.cpp b/plugins/SecureIM/src/svcs_srmm.cpp index 1d9f0f065f..09323c5cd4 100644 --- a/plugins/SecureIM/src/svcs_srmm.cpp +++ b/plugins/SecureIM/src/svcs_srmm.cpp @@ -39,28 +39,28 @@ void InitSRMMIcons() sid.dwId = MODE_NATIVE;
sid.hIcon = mode2icon(MODE_NATIVE | SECURED, 3);
sid.hIconDisabled = mode2icon(MODE_NATIVE, 3);
- sid.szTooltip = LPGEN("SecureIM [Native]");
+ sid.szTooltip.a = LPGEN("SecureIM [Native]");
Srmm_AddIcon(&sid, &g_plugin);
// PGP
sid.dwId = MODE_PGP;
sid.hIcon = mode2icon(MODE_PGP | SECURED, 3);
sid.hIconDisabled = mode2icon(MODE_PGP, 3);
- sid.szTooltip = LPGEN("SecureIM [PGP]");
+ sid.szTooltip.a = LPGEN("SecureIM [PGP]");
Srmm_AddIcon(&sid, &g_plugin);
// GPG
sid.dwId = MODE_GPG;
sid.hIcon = mode2icon(MODE_GPG | SECURED, 3);
sid.hIconDisabled = mode2icon(MODE_GPG, 3);
- sid.szTooltip = LPGEN("SecureIM [GPG]");
+ sid.szTooltip.a = LPGEN("SecureIM [GPG]");
Srmm_AddIcon(&sid, &g_plugin);
// RSAAES
sid.dwId = MODE_RSAAES;
sid.hIcon = mode2icon(MODE_RSAAES | SECURED, 3);
sid.hIconDisabled = mode2icon(MODE_RSAAES, 3);
- sid.szTooltip = LPGEN("SecureIM [RSA/AES]");
+ sid.szTooltip.a = LPGEN("SecureIM [RSA/AES]");
Srmm_AddIcon(&sid, &g_plugin);
// hook the window events so that we can can change the status of the icon
|