From d44592bc00f85181b5843a6594585664a63ced14 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Thu, 24 Jan 2013 21:32:09 +0200 Subject: merged with miranda_ng main repo implemented #83 --- options.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'options.cpp') 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; } -- cgit v1.2.3