summaryrefslogtreecommitdiff
path: root/otr/options.cpp
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-06-05 01:26:39 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-06-05 01:26:39 +0000
commit25e400fbfabd5cb55a7db9e6730acaeae9deb93f (patch)
tree70a12f74271a4b1cb4047ab3c9bb102df49f3f90 /otr/options.cpp
parentb6f3ae7c54375c98d26d43acc2162f12f3475420 (diff)
make 'show inline' option apply to all libotr messages
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@197 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'otr/options.cpp')
-rw-r--r--otr/options.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/otr/options.cpp b/otr/options.cpp
index 4e8db52..cee195e 100644
--- a/otr/options.cpp
+++ b/otr/options.cpp
@@ -233,6 +233,7 @@ INT_PTR CALLBACK DlgProcOpts1(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar
CheckDlgButton(hwndDlg, IDC_CHK_PREFIX, options.prefix_messages ? TRUE : FALSE);
CheckDlgButton(hwndDlg, IDC_CHK_MSGINLINE, options.msg_inline ? TRUE : FALSE);
+ CheckDlgButton(hwndDlg, IDC_CHK_TIMEFINISH, options.timeout_finished ? TRUE : FALSE);
SetDlgItemText(hwndDlg, IDC_ED_PREFIX, options.prefix);
return TRUE;
@@ -480,6 +481,7 @@ INT_PTR CALLBACK DlgProcOpts1(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar
options.prefix_messages = IsDlgButtonChecked(hwndDlg, IDC_CHK_PREFIX) ? true : false;
options.msg_inline = IsDlgButtonChecked(hwndDlg, IDC_CHK_MSGINLINE) ? true : false;
+ options.timeout_finished = IsDlgButtonChecked(hwndDlg, IDC_CHK_TIMEFINISH) ? true : false;
GetDlgItemText(hwndDlg, IDC_ED_PREFIX, options.prefix, 64);
ContactPolicyMap *contact_policies = (ContactPolicyMap *)GetWindowLong(hwndDlg, GWL_USERDATA);