diff options
author | George Hazan <ghazan@miranda.im> | 2017-04-04 00:20:24 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-04-04 00:20:24 +0300 |
commit | 5c3ab50ab27ba9a517cf56d0626c641883e3fd39 (patch) | |
tree | 553f38fa4a7673d710ee18f570201d177e2f64ac /plugins/Scriver/src/msgoptions.cpp | |
parent | 7f513673b523ecfbf6ded0a2d0e5cdf5496bd6b0 (diff) |
SRMM window list completely incapsulated into mir_app to avoid corrupting it by someone's dirty hands
Diffstat (limited to 'plugins/Scriver/src/msgoptions.cpp')
-rw-r--r-- | plugins/Scriver/src/msgoptions.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Scriver/src/msgoptions.cpp b/plugins/Scriver/src/msgoptions.cpp index 0e88757f6e..ab9309f5af 100644 --- a/plugins/Scriver/src/msgoptions.cpp +++ b/plugins/Scriver/src/msgoptions.cpp @@ -79,7 +79,7 @@ int FontServiceFontsChanged(WPARAM, LPARAM) {
LoadMsgLogIcons();
LoadInfobarFonts();
- WindowList_Broadcast(pci->hWindowList, DM_OPTIONSAPPLIED, 0, 0);
+ Srmm_Broadcast(DM_OPTIONSAPPLIED, 0, 0);
return 0;
}
@@ -130,14 +130,14 @@ int IconsChanged(WPARAM, LPARAM) FreeMsgLogIcons();
LoadMsgLogIcons();
ChangeStatusIcons();
- WindowList_Broadcast(pci->hWindowList, DM_REMAKELOG, 0, 0);
- WindowList_Broadcast(pci->hWindowList, DM_CHANGEICONS, 0, 1);
+ Srmm_Broadcast(DM_REMAKELOG, 0, 0);
+ Srmm_Broadcast(DM_CHANGEICONS, 0, 1);
return 0;
}
int SmileySettingsChanged(WPARAM wParam, LPARAM)
{
- WindowList_Broadcast(pci->hWindowList, DM_REMAKELOG, wParam, 0);
+ Srmm_Broadcast(DM_REMAKELOG, wParam, 0);
return 0;
}
@@ -237,7 +237,7 @@ static void ApplyChanges(int i) if (changed == 0) {
ReloadGlobals();
WindowList_Broadcast(g_dat.hParentWindowList, DM_OPTIONSAPPLIED, 0, 0);
- WindowList_Broadcast(pci->hWindowList, DM_OPTIONSAPPLIED, 0, 0);
+ Srmm_Broadcast(DM_OPTIONSAPPLIED, 0, 0);
Chat_UpdateOptions();
}
}
@@ -916,7 +916,7 @@ static INT_PTR CALLBACK DlgProcTypeOptions(HWND hwndDlg, UINT msg, WPARAM wParam db_set_b(0, SRMM_MODULE, SRMSGSET_SHOWTYPINGCLIST, (BYTE)IsDlgButtonChecked(hwndDlg, IDC_NOTIFYTRAY));
db_set_b(0, SRMM_MODULE, SRMSGSET_SHOWTYPINGSWITCH, (BYTE)IsDlgButtonChecked(hwndDlg, IDC_TYPINGSWITCH));
ReloadGlobals();
- WindowList_Broadcast(pci->hWindowList, DM_OPTIONSAPPLIED, 0, 0);
+ Srmm_Broadcast(DM_OPTIONSAPPLIED, 0, 0);
}
break;
}
|