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/BuddyExpectator/src/BuddyExpectator.cpp | |
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/BuddyExpectator/src/BuddyExpectator.cpp')
-rw-r--r-- | plugins/BuddyExpectator/src/BuddyExpectator.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/BuddyExpectator/src/BuddyExpectator.cpp b/plugins/BuddyExpectator/src/BuddyExpectator.cpp index fa0dcb9876..091c912a6b 100644 --- a/plugins/BuddyExpectator/src/BuddyExpectator.cpp +++ b/plugins/BuddyExpectator/src/BuddyExpectator.cpp @@ -614,12 +614,6 @@ int ModulesLoaded(WPARAM, LPARAM) ////////////////////////////////////////////////////////////////////////////
- Icon_Register(hInst, "BuddyExpectator", iconList, SIZEOF(iconList));
-
- HookEvent(ME_SKIN2_ICONSCHANGED, onIconsChanged);
-
- onIconsChanged(0,0);
-
if (options.enableMissYou) {
HookEvent(ME_CLIST_PREBUILDCONTACTMENU, onPrebuildContactMenu);
@@ -702,6 +696,12 @@ extern "C" int __declspec(dllexport) Load(void) db_set_dw(hContact, MODULE_NAME, "CreationTime", current_time);
}
+ Icon_Register(hInst, "BuddyExpectator", iconList, SIZEOF(iconList));
+
+ HookEvent(ME_SKIN2_ICONSCHANGED, onIconsChanged);
+
+ onIconsChanged(0, 0);
+
hExtraIcon = ExtraIcon_Register("buddy_exp", LPGEN("Buddy Expectator"), "enabled_icon");
return 0;
|