From 89450ce6d14e082a120595bfded223fc58860322 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 8 Aug 2017 13:33:42 +0300 Subject: fixes #874 (Message sessions buttons bugs) --- plugins/TabSRMM/src/globals.cpp | 2 ++ plugins/TabSRMM/src/msgs.cpp | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp index 99eceeed14..b47f1f6214 100644 --- a/plugins/TabSRMM/src/globals.cpp +++ b/plugins/TabSRMM/src/globals.cpp @@ -30,6 +30,7 @@ #include "stdafx.h" void Chat_ModulesLoaded(); +void CB_InitCustomButtons(); bool g_bShutdown = false; @@ -278,6 +279,7 @@ int CGlobals::ModulesLoaded(WPARAM, LPARAM) PluginConfig.g_buttonBarIcons[i] = 0; ::LoadIconTheme(); ::CreateImageList(TRUE); + ::CB_InitCustomButtons(); MENUITEMINFOA mii = { 0 }; mii.cbSize = sizeof(mii); diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp index 3c1b5051e0..7325c07702 100644 --- a/plugins/TabSRMM/src/msgs.cpp +++ b/plugins/TabSRMM/src/msgs.cpp @@ -38,7 +38,6 @@ HMODULE g_hIconDLL = 0, g_hMsftedit; static void UnloadIcons(); void Chat_AddIcons(); -void CB_InitCustomButtons(); ///////////////////////////////////////////////////////////////////////////////////////// // fired event when user changes IEView plugin options. Apply them to all open tabs @@ -1037,7 +1036,6 @@ static void TSAPI InitAPI() CreateServiceFunction(MS_TABMSG_SLQMGR, CSendLater::svcQMgr); SI_InitStatusIcons(); - CB_InitCustomButtons(); } int LoadSendRecvMessageModule(void) -- cgit v1.2.3