summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-04-25 19:04:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-04-25 19:04:35 +0300
commit79aec0bb36d36ae672804e85b90da0d74aebb3db (patch)
tree3960aed18100af2d1bb4b2e28cd1d392c4d278e5 /src/mir_app
parent88de963cc5a28c261d56c8fead80a18b42eb77af (diff)
fixes #1929 (jabber menu bug)
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/menu_clist.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mir_app/src/menu_clist.cpp b/src/mir_app/src/menu_clist.cpp
index d06543f2d3..f47364a1a0 100644
--- a/src/mir_app/src/menu_clist.cpp
+++ b/src/mir_app/src/menu_clist.cpp
@@ -655,14 +655,6 @@ static BOOL FindMenuHanleByGlobalID(HMENU hMenu, TMO_IntMenuItem *id, MenuItemDa
return FALSE;
}
-static int MenuIconsChanged(WPARAM, LPARAM)
-{
- // just rebuild menu
- RebuildMenuOrder();
- g_clistApi.pfnCluiProtocolStatusChanged(0, nullptr);
- return 0;
-}
-
MIR_APP_DLL(void) Clist_SetStatusMode(int iStatus)
{
prochotkey = true;
@@ -1086,8 +1078,6 @@ void InitCustomMenus(void)
currentStatusMenuItem = ID_STATUS_OFFLINE;
g_clistApi.currentDesiredStatusMode = ID_STATUS_OFFLINE;
-
- HookEvent(ME_SKIN_ICONSCHANGED, MenuIconsChanged);
}
void UninitCustomMenus(void)