summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/msgoptions.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-06 14:27:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-06 14:27:45 +0300
commit6dc8111b7f9534aaf7aa22f979857ee0593cae90 (patch)
tree27155066903cf80b676a4edab8485e67ad3c754a /plugins/Scriver/src/msgoptions.cpp
parentc8e8e884a6a632c5766eddab2d84c6a6b2216d6c (diff)
minus Scriver's own window list
Diffstat (limited to 'plugins/Scriver/src/msgoptions.cpp')
-rw-r--r--plugins/Scriver/src/msgoptions.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Scriver/src/msgoptions.cpp b/plugins/Scriver/src/msgoptions.cpp
index 0dfdb2d36a..eb19b8d919 100644
--- a/plugins/Scriver/src/msgoptions.cpp
+++ b/plugins/Scriver/src/msgoptions.cpp
@@ -80,7 +80,7 @@ int FontServiceFontsChanged(WPARAM, LPARAM)
{
LoadMsgLogIcons();
LoadInfobarFonts();
- WindowList_Broadcast(g_dat.hMessageWindowList, DM_OPTIONSAPPLIED, 0, 0);
+ WindowList_Broadcast(pci->hWindowList, DM_OPTIONSAPPLIED, 0, 0);
return 0;
}
@@ -131,14 +131,14 @@ int IconsChanged(WPARAM, LPARAM)
FreeMsgLogIcons();
LoadMsgLogIcons();
ChangeStatusIcons();
- WindowList_Broadcast(g_dat.hMessageWindowList, DM_REMAKELOG, 0, 0);
- WindowList_Broadcast(g_dat.hMessageWindowList, DM_CHANGEICONS, 0, 1);
+ WindowList_Broadcast(pci->hWindowList, DM_REMAKELOG, 0, 0);
+ WindowList_Broadcast(pci->hWindowList, DM_CHANGEICONS, 0, 1);
return 0;
}
int SmileySettingsChanged(WPARAM wParam, LPARAM)
{
- WindowList_Broadcast(g_dat.hMessageWindowList, DM_REMAKELOG, wParam, 0);
+ WindowList_Broadcast(pci->hWindowList, DM_REMAKELOG, wParam, 0);
return 0;
}
@@ -238,7 +238,7 @@ static void ApplyChanges(int i)
if (changed == 0) {
ReloadGlobals();
WindowList_Broadcast(g_dat.hParentWindowList, DM_OPTIONSAPPLIED, 0, 0);
- WindowList_Broadcast(g_dat.hMessageWindowList, DM_OPTIONSAPPLIED, 0, 0);
+ WindowList_Broadcast(pci->hWindowList, DM_OPTIONSAPPLIED, 0, 0);
pci->SM_BroadcastMessage(NULL, GC_SETWNDPROPS, 0, 0, TRUE);
}
}
@@ -918,7 +918,7 @@ static INT_PTR CALLBACK DlgProcTypeOptions(HWND hwndDlg, UINT msg, WPARAM wParam
db_set_b(NULL, SRMMMOD, SRMSGSET_SHOWTYPINGCLIST, (BYTE)IsDlgButtonChecked(hwndDlg, IDC_NOTIFYTRAY));
db_set_b(NULL, SRMMMOD, SRMSGSET_SHOWTYPINGSWITCH, (BYTE)IsDlgButtonChecked(hwndDlg, IDC_TYPINGSWITCH));
ReloadGlobals();
- WindowList_Broadcast(g_dat.hMessageWindowList, DM_OPTIONSAPPLIED, 0, 0);
+ WindowList_Broadcast(pci->hWindowList, DM_OPTIONSAPPLIED, 0, 0);
}
break;
}