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/CloudFile/src/events.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/CloudFile/src') diff --git a/plugins/CloudFile/src/events.cpp b/plugins/CloudFile/src/events.cpp index 248397b8f4..33e0419603 100644 --- a/plugins/CloudFile/src/events.cpp +++ b/plugins/CloudFile/src/events.cpp @@ -11,13 +11,13 @@ int OnModulesLoaded(WPARAM, LPARAM) HookEventObj(ME_FILEDLG_CANCELED, OnFileDialogCanceled, service); } - // menus + HookEvent(ME_CLIST_PREBUILDCONTACTMENU, OnPrebuildContactMenu); - // srmm - HookEvent(ME_MSG_TOOLBARLOADED, OnSrmmToolbarLoaded); + HookEvent(ME_MSG_WINDOWEVENT, OnSrmmWindowOpened); HookEvent(ME_MSG_BUTTONPRESSED, OnSrmmButtonPressed); + HookTemporaryEvent(ME_MSG_TOOLBARLOADED, OnSrmmToolbarLoaded); return 0; } -- cgit v1.2.3