summaryrefslogtreecommitdiff
path: root/init.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-07-18 18:41:17 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-07-18 18:41:17 +0300
commita13bb5a76dc9f7e6161f9832fc1e4e9c72c00f8c (patch)
treedd8175d50295991af2ddee527d2593425474f93d /init.cpp
parent5017949ed6a24c623c895b02673d2ff5272fc7bf (diff)
modified: init.cpp
modified: ui.cpp
Diffstat (limited to 'init.cpp')
-rw-r--r--init.cpp6
1 files changed, 3 insertions, 3 deletions
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;
}