summaryrefslogtreecommitdiff
path: root/options.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2013-01-24 21:32:09 +0200
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2013-01-24 21:32:09 +0200
commitd44592bc00f85181b5843a6594585664a63ced14 (patch)
tree94c5c9d52c415d9a5f3711abd11537f762528374 /options.cpp
parent6eb2d438641807a8281f0e5d4537ca007e7f0fc6 (diff)
merged with miranda_ng main repo
implemented #83
Diffstat (limited to 'options.cpp')
-rwxr-xr-xoptions.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/options.cpp b/options.cpp
index b0fe543..6fb37bb 100755
--- a/options.cpp
+++ b/options.cpp
@@ -720,6 +720,24 @@ static INT_PTR CALLBACK DlgProcGpgAdvOpts(HWND hwndDlg, UINT msg, WPARAM wParam,
case WM_COMMAND:
{
+ switch (LOWORD(wParam))
+ {
+ case IDC_EXPORT:
+ {
+ INT_PTR ExportGpGKeys(WPARAM w, LPARAM l);
+ ExportGpGKeys(NULL, NULL);
+ }
+ break;
+ case IDC_IMPORT:
+ {
+ INT_PTR ImportGpGKeys(WPARAM w, LPARAM l);
+ ImportGpGKeys(NULL, NULL);
+ }
+ break;
+ default:
+ break;
+ }
+
SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
break;
}