summaryrefslogtreecommitdiff
path: root/plugins/MenuItemEx
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-20 23:36:07 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-20 23:36:07 +0300
commit41ee395da7530c17656bd06f84638ab8d9d3776d (patch)
tree4f28423e3acb809b9be60f467d7fbca262a612d5 /plugins/MenuItemEx
parente79355b2127afe4cdfe4676e76a165fefe6e6c2a (diff)
options API unbound from hLangpack and switched to CMPlugin
Diffstat (limited to 'plugins/MenuItemEx')
-rw-r--r--plugins/MenuItemEx/src/main.cpp2
-rw-r--r--plugins/MenuItemEx/src/options.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp
index e7e176062a..71b2676e04 100644
--- a/plugins/MenuItemEx/src/main.cpp
+++ b/plugins/MenuItemEx/src/main.cpp
@@ -676,7 +676,7 @@ static INT_PTR onCopyMirVer(WPARAM wparam, LPARAM lparam)
static INT_PTR OpenIgnoreOptions(WPARAM, LPARAM)
{
- Options_Open(L"Contacts", L"Ignore");
+ g_plugin.openOptions(L"Contacts", L"Ignore");
return 0;
}
diff --git a/plugins/MenuItemEx/src/options.cpp b/plugins/MenuItemEx/src/options.cpp
index f9505d84dc..eeee4998c6 100644
--- a/plugins/MenuItemEx/src/options.cpp
+++ b/plugins/MenuItemEx/src/options.cpp
@@ -104,6 +104,6 @@ int OptionsInit(WPARAM wparam, LPARAM)
odp.pfnDlgProc = OptionsProc;
odp.szGroup.a = LPGEN("Customize");
odp.flags = ODPF_BOLDGROUPS;
- Options_AddPage(wparam, &odp);
+ g_plugin.addOptions(wparam, &odp);
return 0;
}