From d68ef14d25a6b9f3dcec6700e812dc5012aa59ba Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 21 Feb 2013 20:25:15 +0000 Subject: - 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 --- protocols/JabberG/src/jabber_icolib.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'protocols/JabberG/src/jabber_icolib.cpp') diff --git a/protocols/JabberG/src/jabber_icolib.cpp b/protocols/JabberG/src/jabber_icolib.cpp index c125213b1b..9afd1e3950 100644 --- a/protocols/JabberG/src/jabber_icolib.cpp +++ b/protocols/JabberG/src/jabber_icolib.cpp @@ -175,20 +175,13 @@ CIconPool::CPoolItem *CIconPool::FindItemByName(const char *name) ///////////////////////////////////////////////////////////////////////////////////////// // Icons init -static IconItem iconList[] = -{ - { LPGEN("%s"), "main", IDI_JABBER }, -}; - void CJabberProto::IconsInit(void) { m_transportProtoTableStartIndex = (int *)mir_alloc(sizeof(int) * SIZEOF(TransportProtoTable)); for (int i = 0; i < SIZEOF(TransportProtoTable); i++) m_transportProtoTableStartIndex[i] = -1; - IconItemT protoIcon = { m_tszUserName, "main", IDI_JABBER }; - Icon_RegisterT(hInst, _T("Protocols/Jabber/Accounts"), &protoIcon, 1, m_szModuleName); - m_hProtoIcon = protoIcon.hIcolib; + m_hProtoIcon = (HANDLE)CallService(MS_SKIN2_ISMANAGEDICON, (WPARAM)LoadSkinnedProtoIcon(m_szModuleName, ID_STATUS_ONLINE), 0); } HANDLE CJabberProto::GetIconHandle(int iconId) -- cgit v1.2.3