summaryrefslogtreecommitdiff
path: root/protocols/JabberG/jabber.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-11 11:47:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-11 11:47:10 +0000
commite101f83e1e4ba4a9d473a9bc74ca88c9a8e73f36 (patch)
tree2eda52fc5e151eaaf5245c064ba71d44ee4d7951 /protocols/JabberG/jabber.cpp
parent6b5aa30d661974949ddd419287c324fea6763d48 (diff)
valid registration of toolbar's icons for Jabber
git-svn-id: http://svn.miranda-ng.org/main/trunk@901 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/jabber.cpp')
-rw-r--r--protocols/JabberG/jabber.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/JabberG/jabber.cpp b/protocols/JabberG/jabber.cpp
index 9c687789b3..99b3ce796b 100644
--- a/protocols/JabberG/jabber.cpp
+++ b/protocols/JabberG/jabber.cpp
@@ -151,6 +151,8 @@ static INT_PTR g_SvcParseXmppUri(WPARAM w, LPARAM l)
static int OnModulesLoaded( WPARAM, LPARAM )
{
+ hModulesLoadedTB = HookEvent(ME_TTB_MODULELOADED, g_OnToolbarInit);
+
bSecureIM = (ServiceExists("SecureIM/IsContactSecured"));
// file associations manager plugin support
@@ -258,7 +260,6 @@ extern "C" int __declspec( dllexport ) Load()
g_IconsInit();
g_MenuInit();
hModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
- hModulesLoadedTB = HookEvent(ME_TTB_MODULELOADED, g_OnToolbarInit);
JabberUserInfoInit();
return 0;