diff options
Diffstat (limited to 'plugins/MobileState')
-rw-r--r-- | plugins/MobileState/src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MobileState/src/main.cpp b/plugins/MobileState/src/main.cpp index 467359d2ca..c78672e85a 100644 --- a/plugins/MobileState/src/main.cpp +++ b/plugins/MobileState/src/main.cpp @@ -95,9 +95,6 @@ int onContactSettingChanged(WPARAM wParam,LPARAM lParam) int onModulesLoaded(WPARAM wParam,LPARAM lParam)
{
- // IcoLib support
- Icon_Register(g_hInst, "Mobile State", &icon, 1);
-
// Set initial value for all contacts
for (MCONTACT hContact = db_find_first(); hContact; hContact = db_find_next(hContact))
ExtraIconsApply(hContact, 1);
@@ -113,6 +110,9 @@ extern "C" int __declspec(dllexport) Load(void) HookEvent(ME_DB_CONTACT_SETTINGCHANGED, onContactSettingChanged);
HookEvent(ME_CLIST_EXTRA_IMAGE_APPLY, ExtraIconsApply);
+ // IcoLib support
+ Icon_Register(g_hInst, "Mobile State", &icon, 1);
+
// Extra icons
hExtraIcon = ExtraIcon_Register("mobilestate", LPGEN("Mobile State"), "mobile_icon");
|