summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-10-21 15:13:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-10-21 15:13:56 +0000
commit34c11f2b4c3511476b2f09f3a438ce1f39d63bfd (patch)
tree88dbad1e6ca7dc7012bd4950fd9621fa0da29deb /plugins/!NotAdopted
parent646d3950702c34475e9bcb05ebe380f6874a73d2 (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/!NotAdopted')
-rw-r--r--plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_options.inc18
-rw-r--r--plugins/!NotAdopted/SmartAutoReplier/SAR.cpp2
2 files changed, 1 insertions, 19 deletions
diff --git a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_options.inc b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_options.inc
index 23d891a81c..8e52002177 100644
--- a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_options.inc
+++ b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_options.inc
@@ -64,10 +64,6 @@ const
OPTIONSDIALOGPAGE_V0100_SIZE = $18;
OPTIONSDIALOGPAGE_V0120_SIZE = $28;
- { page is only shown when in 'simple' mode }
- ODPF_SIMPLEONLY = 1;
- { page is only shown when in 'expert' mode }
- ODPF_EXPERTONLY = 2;
{ give group box titles a bold font }
ODPF_BOLDGROUPS = 4;
@@ -86,24 +82,10 @@ type
groupPosition: int; // v0.1.0.1+
hGroupIcon: THandle; // v0.1.0.1+
flags: DWORD; // v0.1.2.1+
- { if in simple mode the dialog will be cut off AFTER this control ID, 0
- for disable }
- nIDBottomSimpleControl: int; // v0.1.2.1+
- { if in simple mode the dialog will cut off AFTER this control ID, 0 to disable }
- nIDRightSimpleControl: int; // v0.1.2.1+
- { these controls will be hidden in simple mode, pointer to an array of ID's
- must remain valid for the duration of the dialog }
- expertOnlyControls: ^int;
- nExpertOnlyControls: int; // v0.1.2.1+
end;
const
- { sent to pages via WM_NOTIFY when the expert checkbox is clicked, lParam = new state }
- PSN_EXPERTCHANGED = 2;
- { returns true/false }
- PSM_ISEXPERT = ($0400 + 101);
- { returns HFONT used for group box titles }
PSM_GETBOLDFONT = ($0400 + 102);
{$ENDIF}
diff --git a/plugins/!NotAdopted/SmartAutoReplier/SAR.cpp b/plugins/!NotAdopted/SmartAutoReplier/SAR.cpp
index a2617b496b..e7a3ec73c9 100644
--- a/plugins/!NotAdopted/SmartAutoReplier/SAR.cpp
+++ b/plugins/!NotAdopted/SmartAutoReplier/SAR.cpp
@@ -130,7 +130,7 @@ BEGIN_PROTECT_AND_LOG_CODE
optsDialog.pszGroup = lpszGroup;
#endif
optsDialog.pfnDlgProc = (DLGPROC)&CSettingsDlgHolder::FakeDlgProc;
- optsDialog.flags = ODPF_BOLDGROUPS/*|ODPF_EXPERTONLY*/; /// some lames are scaring that option...
+ optsDialog.flags = ODPF_BOLDGROUPS;
#ifdef _UNICODE
optsDialog.flags |= ODPF_UNICODE;
#endif