From a13bb5a76dc9f7e6161f9832fc1e4e9c72c00f8c Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 18 Jul 2010 18:41:17 +0300 Subject: modified: init.cpp modified: ui.cpp --- init.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'init.cpp') diff --git a/init.cpp b/init.cpp index 1cfdc3c..8c6c66e 100644 --- a/init.cpp +++ b/init.cpp @@ -18,7 +18,7 @@ HINSTANCE hInst; -static HANDLE hAccountsChanges, hDbContactAdded, hTabsrmmButtonPressed; +static HANDLE hAccountsChanges, hDbContactAdded, hTabsrmmButtonPressed, hTabsrmmToolBarReload; PLUGINLINK *pluginLink; static int OnModulesLoaded(WPARAM wParam,LPARAM lParam); extern char *date(); @@ -94,7 +94,7 @@ extern int HandleDbNewContact(WPARAM w, LPARAM l); extern int HandleDbContactDeleted(WPARAM w, LPARAM l); extern int HandleTabsrmmButtonPressed(WPARAM l, LPARAM w); extern void FindJuickAccounts(); -extern int CreateButtons(); +extern int CreateButtons(WPARAM, LPARAM); static int OnModulesLoaded(WPARAM wParam,LPARAM lParam) { GetJabberInterface(0,0); @@ -104,7 +104,7 @@ static int OnModulesLoaded(WPARAM wParam,LPARAM lParam) hDbContactAdded = HookEvent(ME_DB_CONTACT_DELETED, HandleDbContactDeleted); hTabsrmmButtonPressed = HookEvent(ME_MSG_BUTTONPRESSED, HandleTabsrmmButtonPressed); FindJuickAccounts(); - CreateButtons(); + hTabsrmmToolBarReload = HookEvent(ME_MSG_TOOLBARLOADED, CreateButtons); return 0; } -- cgit v1.2.3