From 41ee395da7530c17656bd06f84638ab8d9d3776d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 20 May 2018 23:36:07 +0300 Subject: options API unbound from hLangpack and switched to CMPlugin --- protocols/JabberG/src/jabber_opt.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/JabberG/src') 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; } -- cgit v1.2.3