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/UserInfoEx/src/psp_options.cpp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'plugins/UserInfoEx') diff --git a/plugins/UserInfoEx/src/psp_options.cpp b/plugins/UserInfoEx/src/psp_options.cpp index 9399e90f63..5fbb32f94c 100644 --- a/plugins/UserInfoEx/src/psp_options.cpp +++ b/plugins/UserInfoEx/src/psp_options.cpp @@ -2,7 +2,7 @@ UserinfoEx plugin for Miranda IM Copyright: -© 2006-2010 DeathAxe, Yasnovidyashii, Merlin, K. Romanov, Kreol +� 2006-2010 DeathAxe, Yasnovidyashii, Merlin, K. Romanov, Kreol This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -100,12 +100,6 @@ static VOID SendNotify_InfoChanged(HWND hDlg) { PSHNOTIFY pshn; - // extended setting - pshn.hdr.idFrom = 0; - pshn.hdr.code = PSN_EXPERTCHANGED; - pshn.lParam = SendMessage(GetParent(GetParent(hDlg)), PSM_ISEXPERT, NULL, NULL) ? TRUE : FALSE; - SendMessage(hDlg, WM_NOTIFY, 0, (LPARAM)&pshn); - // send info changed message pshn.hdr.code = PSN_INFOCHANGED; SendMessage(hDlg, WM_NOTIFY, NULL, (LPARAM)&pshn); @@ -1528,7 +1522,7 @@ static INT OnInitOptions(WPARAM wParam, LPARAM lParam) odp.pszTab = LPGEN("Advanced"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_ADVANCED); odp.pfnDlgProc = DlgProc_AdvancedOpts; - odp.flags = ODPF_BOLDGROUPS|ODPF_EXPERTONLY; + odp.flags = ODPF_BOLDGROUPS; Options_AddPage(wParam, &odp); // Details Dialog page @@ -1551,7 +1545,7 @@ static INT OnInitOptions(WPARAM wParam, LPARAM lParam) odp.pszGroup = LPGEN("Popups"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_POPUP); odp.pfnDlgProc = DlgProc_Popups; - odp.flags = ODPF_BOLDGROUPS|ODPF_EXPERTONLY; + odp.flags = ODPF_BOLDGROUPS; Options_AddPage(wParam, &odp); } return MIR_OK; -- cgit v1.2.3