diff options
author | George Hazan <george.hazan@gmail.com> | 2013-02-21 20:25:15 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-02-21 20:25:15 +0000 |
commit | d68ef14d25a6b9f3dcec6700e812dc5012aa59ba (patch) | |
tree | 7aa108fdfd6c9607f7ee79e469082a45b1e5f380 /protocols/JabberG/src/jabber_icolib.cpp | |
parent | 0d6aa760cd3262bcee3564b053192f959f176cf1 (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/JabberG/src/jabber_icolib.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_icolib.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
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)
|