summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src/dialogs.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-03-08 10:39:54 +0000
committerRobert Pösel <robyer@seznam.cz>2013-03-08 10:39:54 +0000
commit7f1ee85eb7f34b57a5354d8cea91495742145f58 (patch)
treeace9a5a0f8808e1ce978f89591958365f27e9347 /protocols/Omegle/src/dialogs.cpp
parentab00e50d6793f56e8e6b7f1a352a954f8b933b3b (diff)
Omegle:
- Added option to automatically connect to stranger when protocol is turned online - Updated readme - Version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@3912 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Omegle/src/dialogs.cpp')
-rw-r--r--protocols/Omegle/src/dialogs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Omegle/src/dialogs.cpp b/protocols/Omegle/src/dialogs.cpp
index 8045ea2e43..19f9fde011 100644
--- a/protocols/Omegle/src/dialogs.cpp
+++ b/protocols/Omegle/src/dialogs.cpp
@@ -167,6 +167,7 @@ INT_PTR CALLBACK OmegleOptionsProc( HWND hwnd, UINT message, WPARAM wparam, LPAR
LoadDBCheckState(proto, hwnd, IDC_REUSE_QUESTIONS, OMEGLE_KEY_REUSE_QUESTION);
LoadDBCheckState(proto, hwnd, IDC_SERVER_INFO, OMEGLE_KEY_SERVER_INFO);
LoadDBCheckState(proto, hwnd, IDC_LOGGING, OMEGLE_KEY_LOGGING);
+ LoadDBCheckState(proto, hwnd, IDC_AUTO_CONNECT, OMEGLE_KEY_AUTO_CONNECT);
} return TRUE;
@@ -194,6 +195,7 @@ INT_PTR CALLBACK OmegleOptionsProc( HWND hwnd, UINT message, WPARAM wparam, LPAR
case IDC_REUSE_QUESTIONS:
case IDC_SERVER_INFO:
case IDC_LOGGING:
+ case IDC_AUTO_CONNECT:
if (HIWORD(wparam) == BN_CLICKED) {
SendMessage(GetParent(hwnd), PSM_CHANGED, 0, 0);
} break;
@@ -220,6 +222,7 @@ INT_PTR CALLBACK OmegleOptionsProc( HWND hwnd, UINT message, WPARAM wparam, LPAR
StoreDBCheckState(proto, hwnd, IDC_REUSE_QUESTIONS, OMEGLE_KEY_REUSE_QUESTION);
StoreDBCheckState(proto, hwnd, IDC_SERVER_INFO, OMEGLE_KEY_SERVER_INFO);
StoreDBCheckState(proto, hwnd, IDC_LOGGING, OMEGLE_KEY_LOGGING);
+ StoreDBCheckState(proto, hwnd, IDC_AUTO_CONNECT, OMEGLE_KEY_AUTO_CONNECT);
return TRUE;
}