summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-08-08 12:26:17 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-08-08 12:26:17 +0300
commit40a156173e722aaf0c9d454ac573f0a26338e065 (patch)
treec452b0d9901be98f074a11f4843ce16b4faf0f23 /src
parent54d93d2c1ae60d2205476cc08ad356fc7bbd13e0 (diff)
ME_MSG_TOOLBARLOADED is hooked everywhere as a temporary event
Diffstat (limited to 'src')
-rw-r--r--src/core/stdmsg/src/msgs.cpp3
1 files changed, 2 insertions, 1 deletions
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;