diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/metacontacts/meta_services.cpp | 1 | ||||
-rw-r--r-- | src/modules/metacontacts/meta_utils.cpp | 15 |
2 files changed, 2 insertions, 14 deletions
diff --git a/src/modules/metacontacts/meta_services.cpp b/src/modules/metacontacts/meta_services.cpp index 89d2c309d2..4a283466e9 100644 --- a/src/modules/metacontacts/meta_services.cpp +++ b/src/modules/metacontacts/meta_services.cpp @@ -635,6 +635,7 @@ int Meta_ModulesLoaded(WPARAM wParam, LPARAM lParam) // create srmm icon
StatusIconData sid = { sizeof(sid) };
sid.szModule = META_PROTO;
+ sid.hIcon = LoadSkinnedProtoIcon(META_PROTO, ID_STATUS_ONLINE);
Srmm_AddIcon(&sid);
// hook srmm window close/open events
diff --git a/src/modules/metacontacts/meta_utils.cpp b/src/modules/metacontacts/meta_utils.cpp index 9adcaa451d..611ba1e0cd 100644 --- a/src/modules/metacontacts/meta_utils.cpp +++ b/src/modules/metacontacts/meta_utils.cpp @@ -540,19 +540,6 @@ void Meta_UpdateSrmmIcon(DBCachedContact *ccMeta, int iStatus) {
StatusIconData sid = { sizeof(sid) };
sid.szModule = META_PROTO;
- sid.flags = MBF_HIDDEN;
- if (ccMeta->IsMeta()) {
- MCONTACT hSub = Meta_GetMostOnline(ccMeta);
- char *szProto = GetContactProto(hSub);
- if (szProto) {
- sid.hIcon = LoadSkinnedProtoIcon(szProto, iStatus);
-
- PROTOACCOUNT *pa = Proto_GetAccount(szProto);
- if (pa) {
- sid.flags = MBF_TCHAR;
- sid.tszTooltip = pa->tszAccountName;
- }
- }
- }
+ sid.flags = (ccMeta->IsMeta()) ? 0 : MBF_HIDDEN;
Srmm_ModifyIcon(ccMeta->contactID, &sid);
}
|