diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-08-12 18:42:49 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-08-12 18:42:49 +0000 |
commit | 74e9b42783af6a0a9d51df6271bca169e3dcc81d (patch) | |
tree | 636b9ea671646559fd835766d482fd99b96bbd19 /plugins/SecureIM | |
parent | 4330c62d2fa5b2752036b43018044c7c01b10695 (diff) |
extraicons registration moved to Load()
git-svn-id: http://svn.miranda-ng.org/main/trunk@10168 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM')
-rw-r--r-- | plugins/SecureIM/src/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/SecureIM/src/main.cpp b/plugins/SecureIM/src/main.cpp index ee1088ce09..c1e5af66e5 100644 --- a/plugins/SecureIM/src/main.cpp +++ b/plugins/SecureIM/src/main.cpp @@ -217,8 +217,6 @@ static int onModulesLoaded(WPARAM, LPARAM) HookEvent(ME_CLIST_PREBUILDCONTACTMENU, onRebuildContactMenu);
- g_hCLIcon = ExtraIcon_Register(MODULENAME, LPGEN("SecureIM status"), "sim_cm_est", onExtraImageListRebuilding, onExtraImageApplying);
-
// hook init options
HookEvent(ME_OPT_INITIALISE, onRegisterOptions);
if (bPopupExists)
@@ -380,6 +378,9 @@ extern "C" __declspec(dllexport) int __cdecl Load(void) CreateServiceFunction(MODULENAME"/MODE_PGP", Service_ModePGP);
CreateServiceFunction(MODULENAME"/MODE_GPG", Service_ModeGPG);
CreateServiceFunction(MODULENAME"/MODE_RSA", Service_ModeRSAAES);
+
+ g_hCLIcon = ExtraIcon_Register(MODULENAME, LPGEN("SecureIM status"), "sim_cm_est", onExtraImageListRebuilding, onExtraImageApplying);
+
return 0;
}
|