diff options
author | George Hazan <george.hazan@gmail.com> | 2024-02-04 21:13:20 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-02-04 21:13:20 +0300 |
commit | 7bb974f094fb6ceb88703941566981a803873f94 (patch) | |
tree | c19d3e8a3b7c4d6a7d3b8768cb5a20cfa91a1baa /plugins | |
parent | 2d15bd30d76e1913d0d52d84cf654e4133605169 (diff) |
SmileyAdd: no need to reload all SRMM options when a smiley pack is changed
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/SmileyAdd/src/dlgboxsubclass.cpp | 6 | ||||
-rw-r--r-- | plugins/SmileyAdd/src/main.cpp | 1 | ||||
-rw-r--r-- | plugins/SmileyAdd/src/stdafx.h | 1 |
3 files changed, 0 insertions, 8 deletions
diff --git a/plugins/SmileyAdd/src/dlgboxsubclass.cpp b/plugins/SmileyAdd/src/dlgboxsubclass.cpp index 4f0618b49b..3d2194fa4b 100644 --- a/plugins/SmileyAdd/src/dlgboxsubclass.cpp +++ b/plugins/SmileyAdd/src/dlgboxsubclass.cpp @@ -54,12 +54,6 @@ struct MsgWndData : public MZeroedObject static OBJLIST<MsgWndData> g_MsgWndList(10, HandleKeySortT);
-int UpdateSrmmDlg(WPARAM, LPARAM)
-{
- Srmm_ApplyOptions();
- return 0;
-}
-
// find the dialog info in the stored list
static MsgWndData* IsMsgWnd(HWND hwnd)
{
diff --git a/plugins/SmileyAdd/src/main.cpp b/plugins/SmileyAdd/src/main.cpp index 4525fb6e7c..9d20fb6990 100644 --- a/plugins/SmileyAdd/src/main.cpp +++ b/plugins/SmileyAdd/src/main.cpp @@ -168,7 +168,6 @@ int CMPlugin::Load() HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded);
HookEvent(ME_SYSTEM_SHUTDOWN, MirandaShutdown);
HookEvent(ME_OPT_INITIALISE, SmileysOptionsInitialize);
- HookEvent(ME_SMILEYADD_OPTIONSCHANGED, UpdateSrmmDlg);
HookEvent(ME_PROTO_ACCLISTCHANGED, AccountListChanged);
HookEvent(ME_DB_CONTACT_SETTINGCHANGED, DbSettingChanged);
HookEvent(ME_COLOUR_RELOAD, ReloadColors);
diff --git a/plugins/SmileyAdd/src/stdafx.h b/plugins/SmileyAdd/src/stdafx.h index 5c2942f5ec..d63876d2df 100644 --- a/plugins/SmileyAdd/src/stdafx.h +++ b/plugins/SmileyAdd/src/stdafx.h @@ -113,7 +113,6 @@ struct CMPlugin : public PLUGIN<CMPlugin> void InstallDialogBoxHook(void);
void RemoveDialogBoxHook(void);
-int UpdateSrmmDlg(WPARAM, LPARAM);
int SmileyButtonCreate(WPARAM, LPARAM);
int SmileyButtonPressed(WPARAM, LPARAM);
|