diff options
author | George Hazan <ghazan@miranda.im> | 2017-08-08 12:26:17 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-08-08 12:26:17 +0300 |
commit | 40a156173e722aaf0c9d454ac573f0a26338e065 (patch) | |
tree | c452b0d9901be98f074a11f4843ce16b4faf0f23 /src/core | |
parent | 54d93d2c1ae60d2205476cc08ad356fc7bbd13e0 (diff) |
ME_MSG_TOOLBARLOADED is hooked everywhere as a temporary event
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdmsg/src/msgs.cpp | 3 |
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;
|