From 79aec0bb36d36ae672804e85b90da0d74aebb3db Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 25 Apr 2019 19:04:35 +0300 Subject: fixes #1929 (jabber menu bug) --- src/mir_app/src/menu_clist.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/mir_app') 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) -- cgit v1.2.3