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 --- plugins/PackUpdater/Src/Options.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/PackUpdater/Src') diff --git a/plugins/PackUpdater/Src/Options.cpp b/plugins/PackUpdater/Src/Options.cpp index 49649a9f66..5758e734b6 100644 --- a/plugins/PackUpdater/Src/Options.cpp +++ b/plugins/PackUpdater/Src/Options.cpp @@ -101,7 +101,7 @@ INT_PTR CALLBACK UpdateNotifyOptsProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPA break; case IDC_LINK_HOTKEY: - Options_Open(L"Customize", L"Hotkeys"); + g_plugin.openOptions(L"Customize", L"Hotkeys"); return true; case IDC_MSG_BOXES2: @@ -388,14 +388,14 @@ int OptInit(WPARAM wParam, LPARAM) odp.szGroup.w = LPGENW("Services"); odp.szTitle.w = LPGENW("Pack Updater"); odp.pfnDlgProc = UpdateNotifyOptsProc; - Options_AddPage(wParam, &odp); + g_plugin.addOptions(wParam, &odp); if (ServiceExists(MS_POPUP_ADDPOPUPT)) { odp.pszTemplate = MAKEINTRESOURCEA(IDD_POPUP); odp.szGroup.w = LPGENW("Popups"); odp.szTitle.w = LPGENW("Pack Updater"); odp.pfnDlgProc = DlgPopupOpts; - Options_AddPage(wParam, &odp); + g_plugin.addOptions(wParam, &odp); } return 0; } -- cgit v1.2.3