diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-08-12 20:36:33 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-08-12 20:36:33 +0000 |
commit | 5d55c351109d18bb46b97c7e6142f6f321595849 (patch) | |
tree | e0423a19189dadc6ca8b5b72dd881aa97a2c1ea7 /plugins/IgnoreState | |
parent | 2e2390295cbf3f8f24a938bf957d3ecd5b86d3a6 (diff) |
icons registration moved to Load()
git-svn-id: http://svn.miranda-ng.org/main/trunk@10173 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IgnoreState')
-rw-r--r-- | plugins/IgnoreState/src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/IgnoreState/src/main.cpp b/plugins/IgnoreState/src/main.cpp index d97e81254b..3f46a7856b 100644 --- a/plugins/IgnoreState/src/main.cpp +++ b/plugins/IgnoreState/src/main.cpp @@ -133,9 +133,6 @@ int onModulesLoaded(WPARAM wParam,LPARAM lParam) {
HookEvent(ME_OPT_INITIALISE, onOptInitialise);
- //IcoLib support
- Icon_Register(g_hInst, LPGEN("Ignore State"), iconList, SIZEOF(iconList));
-
fill_filter();
// Set initial value for all contacts
@@ -169,6 +166,9 @@ extern "C" int __declspec(dllexport) Load(void) HookEvent(ME_SYSTEM_MODULESLOADED, onModulesLoaded);
HookEvent(ME_DB_CONTACT_SETTINGCHANGED, onContactSettingChanged);
+ //IcoLib support
+ Icon_Register(g_hInst, LPGEN("Ignore State"), iconList, SIZEOF(iconList));
+
hExtraIcon = ExtraIcon_Register("ignore", LPGEN("Ignore State"), "ignore_full");
return 0;
|