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/Clist_mw/src/cluiopts.cpp | |
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/Clist_mw/src/cluiopts.cpp')
-rw-r--r-- | plugins/Clist_mw/src/cluiopts.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/Clist_mw/src/cluiopts.cpp b/plugins/Clist_mw/src/cluiopts.cpp index 8fd1c1651e..37433ce481 100644 --- a/plugins/Clist_mw/src/cluiopts.cpp +++ b/plugins/Clist_mw/src/cluiopts.cpp @@ -33,7 +33,6 @@ void ReAssignExtraIcons(); void CluiProtocolStatusChanged(int parStatus, const char* szProto);
int OnStatusBarBackgroundChange();
-static UINT expertOnlyControls[] = {IDC_BRINGTOFRONT, IDC_AUTOSIZE,IDC_STATIC21,IDC_MAXSIZEHEIGHT,IDC_MAXSIZESPIN,IDC_STATIC22,IDC_AUTOSIZEUPWARD,IDC_SHOWMAINMENU,IDC_SHOWCAPTION,IDC_CLIENTDRAG};
int CluiOptInit(WPARAM wParam,LPARAM lParam)
{
OPTIONSDIALOGPAGE odp = { 0 };
@@ -44,18 +43,12 @@ int CluiOptInit(WPARAM wParam,LPARAM lParam) odp.pszGroup = LPGEN("Contact List");
odp.pfnDlgProc = DlgProcCluiOpts;
odp.flags = ODPF_BOLDGROUPS;
- odp.nIDBottomSimpleControl = IDC_STWINDOWGROUP;
- odp.expertOnlyControls = expertOnlyControls;
- odp.nExpertOnlyControls = SIZEOF(expertOnlyControls);
Options_AddPage(wParam, &odp);
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SBAR);
odp.pszTitle = LPGEN("Status Bar");
odp.pfnDlgProc = DlgProcSBarOpts;
- odp.flags = ODPF_BOLDGROUPS | ODPF_EXPERTONLY;
- odp.nIDBottomSimpleControl = 0;
- odp.nExpertOnlyControls = 0;
- odp.expertOnlyControls = NULL;
+ odp.flags = ODPF_BOLDGROUPS;
Options_AddPage(wParam, &odp);
return 0;
}
|