summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/options.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-12-02 07:33:38 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-12-02 07:33:38 +0300
commit2d1690dabbd3a11d41374a5a3450a316a08c3f10 (patch)
tree92a5acf5cc3cd85932f9900c513fd8768bac1d40 /plugins/New_GPG/src/options.cpp
parentac4d58da972257390b99e5f1293278d2ea2ed750 (diff)
new_gpg: porting ui to new api
Diffstat (limited to 'plugins/New_GPG/src/options.cpp')
-rwxr-xr-xplugins/New_GPG/src/options.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/New_GPG/src/options.cpp b/plugins/New_GPG/src/options.cpp
index a59a0d54fa..5ca87464d0 100755
--- a/plugins/New_GPG/src/options.cpp
+++ b/plugins/New_GPG/src/options.cpp
@@ -49,10 +49,6 @@ public:
btn_LOG_FILE_SET.OnClick = Callback(this, &COptGpgMainDlg::onClick_LOG_FILE_SET);
check_JABBER_API.OnChange = Callback(this, &COptGpgMainDlg::onChange_JABBER_API);
-
- list_USERLIST.OnItemActivate;
- list_USERLIST.OnColumnClick;
- list_USERLIST.OnDoubleClick;
}
virtual void OnInitDialog() override
@@ -1005,7 +1001,7 @@ public:
db_set_b(hContact, szGPGModuleName, "GPGEncryption", 0);
}
}
- DestroyWindow(m_hwnd);
+ this->Close();
}
void onClick_LOAD_FROM_FILE(CCtrlButton*)
@@ -1065,7 +1061,8 @@ void ShowLoadPublicKeyDialog(bool modal)
CDlgLoadPubKeyDlg *d = new CDlgLoadPubKeyDlg();
if (modal)
d->DoModal();
- d->Show();
+ else
+ d->Show();
}
int GpgOptInit(WPARAM wParam, LPARAM)