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 /plugins/Scriver/src/msgs.cpp | |
parent | 54d93d2c1ae60d2205476cc08ad356fc7bbd13e0 (diff) |
ME_MSG_TOOLBARLOADED is hooked everywhere as a temporary event
Diffstat (limited to 'plugins/Scriver/src/msgs.cpp')
-rw-r--r-- | plugins/Scriver/src/msgs.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index 617619f89f..58d97fbf1e 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -597,9 +597,10 @@ static int OnModulesLoaded(WPARAM, LPARAM) HookEvent(ME_AV_AVATARCHANGED, AvatarChanged);
HookEvent(ME_FONT_RELOAD, FontServiceFontsChanged);
HookEvent(ME_MSG_ICONPRESSED, StatusIconPressed);
- HookEvent(ME_MSG_TOOLBARLOADED, RegisterToolbarIcons);
HookEvent(ME_MC_DEFAULTTCHANGED, MetaContactChanged);
+ HookTemporaryEvent(ME_MSG_TOOLBARLOADED, RegisterToolbarIcons);
+
RestoreUnreadMessageAlerts();
RegisterStatusIcons();
return 0;
|