diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-03-05 13:54:15 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-03-05 13:54:15 +0000 |
commit | 851d0e2f455631ebb4548b7e771e7e88dccd466d (patch) | |
tree | ddfeb685cd59c032f588db7fb3783f2704a35960 /plugins/RecentContacts | |
parent | d0087d503203d5622d5e670e2711b91902d35394 (diff) |
RecentContact fix: TopToolBar hook correct call
git-svn-id: http://svn.miranda-ng.org/main/trunk@8409 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/RecentContacts')
-rw-r--r-- | plugins/RecentContacts/src/RecentContacts.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/RecentContacts/src/RecentContacts.cpp b/plugins/RecentContacts/src/RecentContacts.cpp index df99310e5c..e4966ec29c 100644 --- a/plugins/RecentContacts/src/RecentContacts.cpp +++ b/plugins/RecentContacts/src/RecentContacts.cpp @@ -493,6 +493,8 @@ static int OnPrebuildContactMenu(WPARAM hContact, LPARAM lParam) int OnModulesLoaded(WPARAM wParam, LPARAM lParam)
{
+ HookEvent(ME_TTB_MODULELOADED, Create_TopToolbarShowList);
+
Create_MenuitemShowList();
IsMessageAPI = (CallService(MS_MSG_GETWINDOWAPI, 0, 0) != CALLSERVICE_NOTFOUND);
LoadDBSettings();
@@ -535,7 +537,6 @@ extern "C" __declspec(dllexport) int Load(void) HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
HookEvent(ME_CLIST_PREBUILDCONTACTMENU, OnPrebuildContactMenu);
- HookEvent(ME_TTB_MODULELOADED, Create_TopToolbarShowList);
HookEvent(ME_MSG_WINDOWEVENT, OnMsgEvent);
HookEvent(ME_DB_CONTACT_SETTINGCHANGED, OnContactSettingChanged );
HookEvent(ME_OPT_INITIALISE, onOptInitialise);
|