diff options
-rw-r--r-- | plugins/TabSRMM/src/chat/options.cpp | 1 | ||||
-rw-r--r-- | src/modules/chat/chat_svc.cpp | 2 | ||||
-rw-r--r-- | src/modules/chat/manager.cpp | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/chat/options.cpp b/plugins/TabSRMM/src/chat/options.cpp index 6b94c5d6e9..0aa3a65092 100644 --- a/plugins/TabSRMM/src/chat/options.cpp +++ b/plugins/TabSRMM/src/chat/options.cpp @@ -399,6 +399,7 @@ void Chat_AddIcons(void) {
Icon_Register(g_hIconDLL, LPGEN("Message Sessions")"/"LPGEN("Group chat windows"), _icons, SIZEOF(_icons));
Icon_Register(g_hIconDLL, LPGEN("Message Sessions")"/"LPGEN("Group chat log"), _logicons, SIZEOF(_logicons));
+ pci->MM_IconsChanged();
}
/*
diff --git a/src/modules/chat/chat_svc.cpp b/src/modules/chat/chat_svc.cpp index a04bfa861a..514345a7a0 100644 --- a/src/modules/chat/chat_svc.cpp +++ b/src/modules/chat/chat_svc.cpp @@ -83,8 +83,6 @@ static int FontsChanged(WPARAM wParam, LPARAM lParam) static int IconsChanged(WPARAM wParam, LPARAM lParam)
{
- LoadChatIcons();
-
FreeMsgLogBitmaps();
LoadMsgLogBitmaps();
diff --git a/src/modules/chat/manager.cpp b/src/modules/chat/manager.cpp index 60ceb2181d..ed081db43a 100644 --- a/src/modules/chat/manager.cpp +++ b/src/modules/chat/manager.cpp @@ -876,6 +876,8 @@ static MODULEINFO* MM_AddModule(const char *pszModule) static void MM_IconsChanged(void)
{
+ LoadChatIcons();
+
MODULEINFO *pTemp = m_ModList;
while (pTemp != NULL) {
Safe_DestroyIcon(pTemp->hOnlineIcon);
|