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 /plugins/Db_autobackups | |
parent | e79355b2127afe4cdfe4676e76a165fefe6e6c2a (diff) |
options API unbound from hLangpack and switched to CMPlugin
Diffstat (limited to 'plugins/Db_autobackups')
-rw-r--r-- | plugins/Db_autobackups/src/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Db_autobackups/src/options.cpp b/plugins/Db_autobackups/src/options.cpp index 23974a9d85..803193cccd 100644 --- a/plugins/Db_autobackups/src/options.cpp +++ b/plugins/Db_autobackups/src/options.cpp @@ -206,7 +206,7 @@ void COptionsDlg::BrowseFolder_OnClick(CCtrlButton*) void COptionsDlg::FoldersPageLink_OnClick(CCtrlHyperlink*)
{
- Options_Open(L"Customize", L"Folders");
+ g_plugin.openOptions(L"Customize", L"Folders");
}
void COptionsDlg::SetDialogState()
@@ -330,7 +330,7 @@ int OptionsInit(WPARAM wParam, LPARAM) odp.szTitle.a = LPGEN("Automatic backups");
odp.szGroup.a = LPGEN("Database");
odp.pDialog = new COptionsDlg();
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
return 0;
}
|