diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-10-27 07:46:37 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-10-27 07:46:37 +0300 |
commit | 1f4c1f489f05bb135c8df93d40db9bb624be969d (patch) | |
tree | bd214f55f5932a60217a848868b9b4cb6fcd9df1 /options.cpp | |
parent | c7417593521a2a96442e97508354e32f502bd931 (diff) |
key autoexchange implementation started
Diffstat (limited to 'options.cpp')
-rw-r--r-- | options.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/options.cpp b/options.cpp index babaad1..948e5ac 100644 --- a/options.cpp +++ b/options.cpp @@ -188,6 +188,7 @@ static BOOL CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA if(bIsMiranda09) CheckStateLoadDB(hwndDlg, IDC_JABBER_API, "bJabberAPI", 1); CheckStateLoadDB(hwndDlg, IDC_FILE_TRANSFERS, "bFileTransfers", 1); + CheckStateLoadDB(hwndDlg, IDC_AUTO_EXCHANGE, "bAutoExchange", 0); return TRUE; } @@ -389,12 +390,13 @@ static BOOL CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA case PSN_APPLY: { - extern bool bDebugLog, bJabberAPI, bFileTransfers; + extern bool bDebugLog, bJabberAPI, bFileTransfers, bAutoExchange; bDebugLog = CheckStateStoreDB(hwndDlg, IDC_DEBUG_LOG, "bDebugLog"); if(bDebugLog) debuglog.init(); bJabberAPI = CheckStateStoreDB(hwndDlg, IDC_JABBER_API, "bJabberAPI"); bFileTransfers = CheckStateStoreDB(hwndDlg, IDC_FILE_TRANSFERS, "bFileTransfers"); + bAutoExchange = CheckStateStoreDB(hwndDlg, IDC_AUTO_EXCHANGE, "bAutoExchange"); { TCHAR tmp[512]; GetDlgItemText(hwndDlg, IDC_LOG_FILE_EDIT, tmp, 512); |