summaryrefslogtreecommitdiff
path: root/plugins/CloudFile
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 /plugins/CloudFile
parent54d93d2c1ae60d2205476cc08ad356fc7bbd13e0 (diff)
ME_MSG_TOOLBARLOADED is hooked everywhere as a temporary event
Diffstat (limited to 'plugins/CloudFile')
-rw-r--r--plugins/CloudFile/src/events.cpp6
1 files changed, 3 insertions, 3 deletions
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;
}