diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-21 20:27:28 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-21 20:27:28 +0300 |
commit | be52d147c0aed74078cfe3665da723554a9500b1 (patch) | |
tree | 5e00c50dd3418100758e268e4bf70affb3ef46a9 /options.cpp | |
parent | a1813a32b6302187814fc4e39107fac68bee7286 (diff) |
modified: init.cpp
modified: messages.cpp
modified: options.cpp
modified: utilities.cpp
Diffstat (limited to 'options.cpp')
-rw-r--r-- | options.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |