summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/icq_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-02-21 20:25:15 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-02-21 20:25:15 +0000
commitd68ef14d25a6b9f3dcec6700e812dc5012aa59ba (patch)
tree7aa108fdfd6c9607f7ee79e469082a45b1e5f380 /protocols/IcqOscarJ/src/icq_proto.cpp
parent0d6aa760cd3262bcee3564b053192f959f176cf1 (diff)
- account's icon is automatically set to its online icon;
- removed Protocols/ICQ/Accounts and Protocols/Jabber/Accounts icon lib items; - removed arServices array from Jabber git-svn-id: http://svn.miranda-ng.org/main/trunk@3675 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_proto.cpp')
-rw-r--r--protocols/IcqOscarJ/src/icq_proto.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/icq_proto.cpp b/protocols/IcqOscarJ/src/icq_proto.cpp
index ceb9363eb8..e00ed256f2 100644
--- a/protocols/IcqOscarJ/src/icq_proto.cpp
+++ b/protocols/IcqOscarJ/src/icq_proto.cpp
@@ -165,9 +165,7 @@ cheekySearchId( -1 )
CreateProtoService(PS_ICQ_ADDCAPABILITY, &CIcqProto::IcqAddCapability);
CreateProtoService(PS_ICQ_CHECKCAPABILITY, &CIcqProto::IcqCheckCapability);
- IconItemT protoIcon = { m_tszUserName, "main", IDI_ICQ };
- Icon_RegisterT(hInst, _T("Protocols/ICQ/Accounts"), &protoIcon, 1, m_szModuleName);
- m_hIconProtocol = protoIcon.hIcolib;
+ m_hIconProtocol = (HANDLE)CallService(MS_SKIN2_ISMANAGEDICON, (WPARAM)LoadSkinnedProtoIcon(m_szModuleName, ID_STATUS_ONLINE), 0);
// Reset a bunch of session specific settings
UpdateGlobalSettings();