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/JabberG | |
parent | e79355b2127afe4cdfe4676e76a165fefe6e6c2a (diff) |
options API unbound from hLangpack and switched to CMPlugin
Diffstat (limited to 'protocols/JabberG')
-rwxr-xr-x | protocols/JabberG/src/jabber_opt.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp index 1808615c7e..0044594f56 100755 --- a/protocols/JabberG/src/jabber_opt.cpp +++ b/protocols/JabberG/src/jabber_opt.cpp @@ -1502,15 +1502,15 @@ int CJabberProto::OnOptionsInit(WPARAM wParam, LPARAM) odp.szTab.w = LPGENW("Account");
odp.pDialog = new CDlgOptAccount(this);
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.szTab.w = LPGENW("Conferences");
odp.pDialog = new CDlgOptGc(this);
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.szTab.w = LPGENW("Advanced");
odp.pDialog = new CDlgOptAdvanced(this);
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
//TODO: add omemo options
return 0;
}
@@ -2221,6 +2221,6 @@ void CJabberProto::JabberUpdateDialogs(BOOL) INT_PTR __cdecl CJabberProto::OnMenuOptions(WPARAM, LPARAM)
{
- Options_Open(L"Network", m_tszUserName, L"Account");
+ g_plugin.openOptions(L"Network", m_tszUserName, L"Account");
return 0;
}
|