summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-06-24 16:07:09 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-06-24 16:07:09 +0300
commit7afea3229b10b22aa7789f9ab69216064d15bb34 (patch)
tree33227930665b7bd443adf9c0e308eedce8790106 /plugins/New_GPG/src
parent2c369e66feacfb3b934b1ec28fcecd179d796ba1 (diff)
New_GPG: added advanced option to send error messages
Diffstat (limited to 'plugins/New_GPG/src')
-rwxr-xr-xplugins/New_GPG/src/options.cpp13
-rw-r--r--plugins/New_GPG/src/resource.h17
2 files changed, 17 insertions, 13 deletions
diff --git a/plugins/New_GPG/src/options.cpp b/plugins/New_GPG/src/options.cpp
index c658775a8d..85e3b82600 100755
--- a/plugins/New_GPG/src/options.cpp
+++ b/plugins/New_GPG/src/options.cpp
@@ -665,22 +665,25 @@ public:
class COptGpgAdvDlg : public CDlgBase
{
CCtrlButton btn_EXPORT, btn_IMPORT;
- CCtrlCheck check_PRESCENSE_SUBSCRIPTION;
+ CCtrlCheck chkPresenceSub, chkSendErrors;
public:
COptGpgAdvDlg() : CDlgBase(g_plugin, IDD_OPT_GPG_ADVANCED),
- btn_EXPORT(this, IDC_EXPORT), btn_IMPORT(this, IDC_IMPORT),
- check_PRESCENSE_SUBSCRIPTION(this, IDC_PRESCENSE_SUBSCRIPTION)
+ btn_EXPORT(this, IDC_EXPORT),
+ btn_IMPORT(this, IDC_IMPORT),
+ chkSendErrors(this, IDC_SEND_ERRORS),
+ chkPresenceSub(this, IDC_PRESCENSE_SUBSCRIPTION)
{
btn_EXPORT.OnClick = Callback(this, &COptGpgAdvDlg::onClick_EXPORT);
btn_IMPORT.OnClick = Callback(this, &COptGpgAdvDlg::onClick_IMPORT);
- CreateLink(check_PRESCENSE_SUBSCRIPTION, g_plugin.bPresenceSigning);
+ CreateLink(chkSendErrors, g_plugin.bSendErrorMessages);
+ CreateLink(chkPresenceSub, g_plugin.bPresenceSigning);
}
bool OnInitDialog() override
{
- check_PRESCENSE_SUBSCRIPTION.Enable(g_plugin.bJabberAPI);
+ chkPresenceSub.Enable(g_plugin.bJabberAPI);
return true;
}
diff --git a/plugins/New_GPG/src/resource.h b/plugins/New_GPG/src/resource.h
index 8132179de6..bc199d9c37 100644
--- a/plugins/New_GPG/src/resource.h
+++ b/plugins/New_GPG/src/resource.h
@@ -1,6 +1,6 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
-// Used by new_gpg.rc
+// Used by W:\miranda-ng\plugins\New_GPG\res\new_gpg.rc
//
#define IDD_LOAD_PUBLIC_KEY 102
#define IDD_FIRST_RUN 103
@@ -18,7 +18,7 @@
#define IDD_OPT_GPG_ADVANCED 113
#define IDD_ENCRYPTED_FILE_MSG_BOX 114
#define IDD_EXPORT_TYPE 115
-#define IDD_CHANGE_PASSWD 116
+#define IDD_CHANGE_PASSWD 116
#define IDC_SET_BIN_PATH 1016
#define IDC_SET_HOME_DIR 1017
#define IDC_BIN_PATH 1018
@@ -88,6 +88,8 @@
#define IDC_REMEMBRE 1068
#define IDC_REMEMBER 1068
#define IDC_GENERATING_KEY 1069
+#define IDC_PRESCENSE_SUBSCRIPTION2 1069
+#define IDC_SEND_ERRORS 1069
#define IDC_GENERATING_TEXT 1070
#define IDC_KEY_ID 1071
#define IDC_COMBO1 1072
@@ -96,17 +98,16 @@
#define IDC_PRIVATE 1074
#define IDC_ALL 1075
#define IDC_EXPORT_PRIVATE 1076
-#define IDC_CHANGE_PASSWD 1077
-#define IDC_OLD_PASSWD 1078
-#define IDC_NEW_PASSWD1 1079
-#define IDC_NEW_PASSWD2 1080
-
+#define IDC_CHANGE_PASSWD 1077
+#define IDC_OLD_PASSWD 1078
+#define IDC_NEW_PASSWD1 1079
+#define IDC_NEW_PASSWD2 1080
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE 117
+#define _APS_NEXT_RESOURCE_VALUE 118
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1081
#define _APS_NEXT_SYMED_VALUE 101