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 --- plugins/Scriver/src/msgs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/Scriver') 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; -- cgit v1.2.3