From 40a156173e722aaf0c9d454ac573f0a26338e065 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 8 Aug 2017 12:26:17 +0300 Subject: ME_MSG_TOOLBARLOADED is hooked everywhere as a temporary event --- src/core/stdmsg/src/msgs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/core/stdmsg/src/msgs.cpp b/src/core/stdmsg/src/msgs.cpp index 15d1800da0..bffa4588be 100644 --- a/src/core/stdmsg/src/msgs.cpp +++ b/src/core/stdmsg/src/msgs.cpp @@ -436,7 +436,8 @@ static int SplitmsgModulesLoaded(WPARAM, LPARAM) hMsgMenuItem = Menu_AddContactMenuItem(&mi); HookEvent(ME_FONT_RELOAD, FontsChanged); - HookEvent(ME_MSG_TOOLBARLOADED, RegisterToolbarIcons); + + HookTemporaryEvent(ME_MSG_TOOLBARLOADED, RegisterToolbarIcons); RestoreUnreadMessageAlerts(); return 0; -- cgit v1.2.3