diff options
author | George Hazan <george.hazan@gmail.com> | 2012-10-21 15:13:56 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-10-21 15:13:56 +0000 |
commit | 34c11f2b4c3511476b2f09f3a438ce1f39d63bfd (patch) | |
tree | 88dbad1e6ca7dc7012bd4950fd9621fa0da29deb /plugins/ListeningTo | |
parent | 646d3950702c34475e9bcb05ebe380f6874a73d2 (diff) |
patch for eliminating expert mode in options (to replace the simple mode with ModernOpts)
git-svn-id: http://svn.miranda-ng.org/main/trunk@2025 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ListeningTo')
-rw-r--r-- | plugins/ListeningTo/src/options.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/plugins/ListeningTo/src/options.cpp b/plugins/ListeningTo/src/options.cpp index 4e62e271e9..f0f739edd2 100644 --- a/plugins/ListeningTo/src/options.cpp +++ b/plugins/ListeningTo/src/options.cpp @@ -51,11 +51,6 @@ static OptPageControl optionsControls[] = { { &opts.adv_icon_slot, CONTROL_COMBO, IDC_ADV_ICON, "AdvancedIconSlot", 1}
};
-static UINT optionsExpertControls[] = {
- IDC_XSTATUS_G, IDC_XSTATUS_L, IDC_SET_XSTATUS, IDC_CHECK_XSTATUS, IDC_CHECK_XSTATUS_MUSIC, IDC_IGNORE_XSTATUS,
- IDC_CONTACTS_G, IDC_SHOW_ADV_ICON, IDC_ADV_ICON
-};
-
static OptPageControl formatControls[] = {
{ &opts.templ, CONTROL_TEXT, IDC_TEMPLATE, "Template", (DWORD) _T("%artist% - %title%") },
{ &opts.unknown, CONTROL_TEXT, IDC_UNKNOWN, "Unknown", (DWORD) _T("<Unknown>"), 0, 0, 128 },
@@ -90,15 +85,12 @@ int InitOptionsCallback(WPARAM wParam,LPARAM lParam) odp.pszTab = LPGEN("General");
odp.pfnDlgProc = OptionsDlgProc;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS);
- odp.expertOnlyControls = optionsExpertControls;
- odp.nExpertOnlyControls = MAX_REGS(optionsExpertControls);
- odp.nIDBottomSimpleControl = IDC_LISTENING_G;
Options_AddPage(wParam, &odp);
odp.pszTab = LPGEN("Format");
odp.pfnDlgProc = FormatDlgProc;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_FORMAT);
- odp.flags = ODPF_BOLDGROUPS | ODPF_EXPERTONLY;
+ odp.flags = ODPF_BOLDGROUPS;
Options_AddPage(wParam, &odp);
odp.pszTab = LPGEN("Players");
|