diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-18 21:52:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-18 21:52:25 +0000 |
commit | 917f2ac608117c2e2eb2c8062e75d0a44177cc11 (patch) | |
tree | fbf418d92b10d4ef2835e4bced01bf6e70421441 /protocols/MRA/src/MraProto.cpp | |
parent | 2b32a7c25a30f8bb83c9032c299c5ece36460c17 (diff) |
global mra xstatus icons
git-svn-id: http://svn.miranda-ng.org/main/trunk@2366 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/MraProto.cpp')
-rw-r--r-- | protocols/MRA/src/MraProto.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/protocols/MRA/src/MraProto.cpp b/protocols/MRA/src/MraProto.cpp index a19450dfdd..4d98c17a49 100644 --- a/protocols/MRA/src/MraProto.cpp +++ b/protocols/MRA/src/MraProto.cpp @@ -55,7 +55,6 @@ CMraProto::CMraProto(const char* _module, const TCHAR* _displayName) : InitContactMenu();
// xstatus menu
- InitXStatusIcons();
for (size_t i = 0; i < MRA_XSTATUS_COUNT; i++) {
char szServiceName[100];
mir_snprintf(szServiceName, SIZEOF(szServiceName), "/menuXStatus%ld", i);
@@ -68,8 +67,8 @@ CMraProto::CMraProto(const char* _module, const TCHAR* _displayName) : HookEvent(ME_CLIST_PREBUILDSTATUSMENU, &CMraProto::MraRebuildStatusMenu);
MraRebuildStatusMenu(0, 0);
- hExtraXstatusIcon = ExtraIcon_Register("MRAXstatus", "Mail.ru Xstatus", "MRA_xstatus25");
- hExtraInfo = ExtraIcon_Register("MRAStatus", "Mail.ru extra info", "MRA_xstatus49");
+ hExtraXstatusIcon = ExtraIcon_Register("MRAXstatus", "Mail.ru Xstatus", "mra_xstatus25");
+ hExtraInfo = ExtraIcon_Register("MRAStatus", "Mail.ru extra info", "mra_xstatus49");
bHideXStatusUI = FALSE;
m_iXStatus = mraGetByte(NULL, DBSETTING_XSTATUSID, MRA_MIR_XSTATUS_NONE);
@@ -83,8 +82,6 @@ CMraProto::~CMraProto() {
Netlib_CloseHandle(hNetlibUser);
- DestroyXStatusIcons();
-
if (heNudgeReceived)
DestroyHookableEvent(heNudgeReceived);
|