diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2013-01-24 21:36:18 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2013-01-24 21:36:18 +0200 |
commit | 5574cabe88f53283e287cf436dbb63fbaee65c23 (patch) | |
tree | 86e8ce44ac3e419b1910a09f0d87c2ee2caf0635 /src/options.cpp | |
parent | 68bafd3f9b745a9501dfe4121ffda7f3d9ccf129 (diff) |
merged with miranda_ng main repo
implemented #83
Diffstat (limited to 'src/options.cpp')
-rwxr-xr-x | src/options.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/options.cpp b/src/options.cpp index 5ba5157..d635302 100755 --- a/src/options.cpp +++ b/src/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;
}
|