summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-08-08 13:33:42 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-08-08 13:33:42 +0300
commit89450ce6d14e082a120595bfded223fc58860322 (patch)
treee0a435056a43776286f5fe46803087049033d4d4 /plugins
parent40a156173e722aaf0c9d454ac573f0a26338e065 (diff)
fixes #874 (Message sessions buttons bugs)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/TabSRMM/src/globals.cpp2
-rw-r--r--plugins/TabSRMM/src/msgs.cpp2
2 files changed, 2 insertions, 2 deletions
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)