From 34c11f2b4c3511476b2f09f3a438ce1f39d63bfd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 21 Oct 2012 15:13:56 +0000 Subject: 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 --- plugins/ListeningTo/src/options.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'plugins/ListeningTo') 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(""), 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"); -- cgit v1.2.3