summaryrefslogtreecommitdiff
path: root/plugins/LangMan
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/LangMan
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/LangMan')
-rw-r--r--plugins/LangMan/src/options.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/LangMan/src/options.cpp b/plugins/LangMan/src/options.cpp
index 258669ec58..c06572e201 100644
--- a/plugins/LangMan/src/options.cpp
+++ b/plugins/LangMan/src/options.cpp
@@ -396,7 +396,6 @@ static INT_PTR CALLBACK LangOptDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LP
CorrectPacks(_T("langpack_*.txt"), FALSE);
CheckDlgButton(hwndDlg, IDC_ENABLEAUTOUPDATES, DBGetContactSettingByte(NULL, "LangMan", "EnableAutoUpdates", SETTING_ENABLEAUTOUPDATES_DEFAULT)!=0);
SendMessage(hwndDlg, M_RELOADLIST, 0, 0);
- SendMessage(hwndDlg, M_SHOWFILECOL, 0, SendMessage(GetParent(hwndDlg), PSM_ISEXPERT, 0, 0));
return TRUE;
}
case M_RELOADLIST:
@@ -621,9 +620,6 @@ static INT_PTR CALLBACK LangOptDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LP
DBWriteContactSettingByte(NULL, "LangMan", "EnableAutoUpdates", (BYTE)(IsDlgButtonChecked(hwndDlg, IDC_ENABLEAUTOUPDATES)!=0));
return TRUE;
}
- case PSN_EXPERTCHANGED:
- SendMessage(hwndDlg, M_SHOWFILECOL, 0, ((PSHNOTIFY*)lParam)->lParam);
- return TRUE;
} /* switch nmhdr->code */
break;
} /* switch nmhdr->idFrom */
@@ -637,7 +633,6 @@ void ReloadLangOptList(void)
{
if (hwndLangOpt!=NULL) {
SendMessage(hwndLangOpt, M_RELOADLIST, 0, 0);
- SendMessage(hwndLangOpt, M_SHOWFILECOL, 0, SendMessage(GetParent(hwndLangOpt), PSM_ISEXPERT, 0, 0));
}
}