From be52d147c0aed74078cfe3665da723554a9500b1 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sat, 21 Aug 2010 20:27:28 +0300 Subject: modified: init.cpp modified: messages.cpp modified: options.cpp modified: utilities.cpp --- options.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'options.cpp') diff --git a/options.cpp b/options.cpp index 99d23f6..734a591 100644 --- a/options.cpp +++ b/options.cpp @@ -94,6 +94,7 @@ static BOOL CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA LVITEM item = {0}; TCHAR *tmp = NULL; char *tmp2 = NULL; + extern bool bIsMiranda09; NMLISTVIEW * hdr = (NMLISTVIEW *) lParam; switch (msg) { @@ -173,7 +174,9 @@ static BOOL CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA SetDlgItemText(hwndDlg, IDC_LOG_FILE_EDIT, (_tcslen(tmp) > 1)?tmp:_T("c:\\GPGdebug.log")); mir_free(tmp); CheckStateLoadDB(hwndDlg, IDC_DEBUG_LOG, "bDebugLog", 0); - CheckStateLoadDB(hwndDlg, IDC_JABBER_API, "bJabberAPI", 1); + EnableWindow(GetDlgItem(hwndDlg, IDC_JABBER_API), bIsMiranda09); + if(bIsMiranda09) + CheckStateLoadDB(hwndDlg, IDC_JABBER_API, "bJabberAPI", 1); return TRUE; } -- cgit v1.2.3