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/SeenPlugin/src/options.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/SeenPlugin/src/options.cpp') diff --git a/plugins/SeenPlugin/src/options.cpp b/plugins/SeenPlugin/src/options.cpp index 46d9c8b8c6..db4914a3e6 100644 --- a/plugins/SeenPlugin/src/options.cpp +++ b/plugins/SeenPlugin/src/options.cpp @@ -494,14 +494,14 @@ int OptionsInit(WPARAM wparam, LPARAM) odp.szGroup.w = LPGENW("Contacts"); odp.szTitle.w = LPGENW("Last seen"); odp.pfnDlgProc = OptsSettingsDlgProc; - Options_AddPage(wparam, &odp); + g_plugin.addOptions(wparam, &odp); if (ServiceExists(MS_POPUP_ADDPOPUPT)) { odp.pszTemplate = MAKEINTRESOURCEA(IDD_POPUPS); odp.szGroup.w = LPGENW("Popups"); odp.szTitle.w = LPGENW("Last seen"); odp.pfnDlgProc = OptsPopupsDlgProc; - Options_AddPage(wparam, &odp); + g_plugin.addOptions(wparam, &odp); } return 0; } -- cgit v1.2.3