diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-11 17:01:26 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-11 17:01:26 +0300 |
commit | 22977408e43caa45687e0c9d5a003b800700bea9 (patch) | |
tree | fea533846f3297c8fe02044e26df9af1808f85dc /plugins/TabSRMM/src/globals.cpp | |
parent | cfd7dee86b0cc9eb8ac8c87e9b2b4b356d462056 (diff) |
if a user's avatar was changed, redraw it and all related objects (including thumb window in a taskbar)
fixes #1249
Diffstat (limited to 'plugins/TabSRMM/src/globals.cpp')
-rw-r--r-- | plugins/TabSRMM/src/globals.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp index ba03372f6f..6ab4e3d396 100644 --- a/plugins/TabSRMM/src/globals.cpp +++ b/plugins/TabSRMM/src/globals.cpp @@ -235,14 +235,15 @@ void CGlobals::hookSystemEvents() {
HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded);
HookEvent(ME_SKIN_ICONSCHANGED, ::IconsChanged);
+ HookEvent(ME_SKIN2_ICONSCHANGED, ::IcoLibIconsChanged);
HookEvent(ME_PROTO_CONTACTISTYPING, CMimAPI::TypingMessage);
HookEvent(ME_PROTO_ACK, CMimAPI::ProtoAck);
HookEvent(ME_SYSTEM_PRESHUTDOWN, PreshutdownSendRecv);
HookEvent(ME_SYSTEM_OKTOEXIT, OkToExit);
HookEvent(ME_CLIST_PREBUILDCONTACTMENU, CMimAPI::PrebuildContactMenu);
-
- HookEvent(ME_SKIN2_ICONSCHANGED, ::IcoLibIconsChanged);
+
+ HookEvent(ME_AV_AVATARCHANGED, ::AvatarChanged);
HookEvent(ME_AV_MYAVATARCHANGED, ::MyAvatarChanged);
}
|