diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-20 23:36:07 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-20 23:36:07 +0300 |
commit | 41ee395da7530c17656bd06f84638ab8d9d3776d (patch) | |
tree | 4f28423e3acb809b9be60f467d7fbca262a612d5 /protocols/MSN/src | |
parent | e79355b2127afe4cdfe4676e76a165fefe6e6c2a (diff) |
options API unbound from hLangpack and switched to CMPlugin
Diffstat (limited to 'protocols/MSN/src')
-rw-r--r-- | protocols/MSN/src/msn_opts.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/MSN/src/msn_opts.cpp b/protocols/MSN/src/msn_opts.cpp index 8705bbf845..0a45df570a 100644 --- a/protocols/MSN/src/msn_opts.cpp +++ b/protocols/MSN/src/msn_opts.cpp @@ -601,22 +601,22 @@ int CMsnProto::OnOptionsInit(WPARAM wParam, LPARAM) odp.flags = ODPF_BOLDGROUPS | ODPF_UNICODE | ODPF_DONTTRANSLATE;
odp.pfnDlgProc = DlgProcMsnOpts;
odp.dwInitParam = (LPARAM)this;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.szTab.w = LPGENW("Connection");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_MSN_CONN);
odp.pfnDlgProc = DlgProcMsnConnOpts;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.szTab.w = LPGENW("Server list");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_LISTSMGR);
odp.pfnDlgProc = DlgProcMsnServLists;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.szTab.w = LPGENW("Notifications");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_NOTIFY);
odp.pfnDlgProc = DlgProcHotmailPopupOpts;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
return 0;
}
|