Hide WKD Option for now
authorAndre Heinecke <aheinecke@intevation.de>
Thu, 5 Jan 2017 16:42:50 +0000 (17:42 +0100)
committerAndre Heinecke <aheinecke@intevation.de>
Thu, 5 Jan 2017 16:44:19 +0000 (17:44 +0100)
--
Does not work yet because of missing HTTPS support and
we would also need to change the gpg.conf setting.
Let's hope we can revert this soon.

src/addin-options.cpp
src/dialogs.rc

index d08b71a..083d89e 100644 (file)
@@ -44,7 +44,7 @@ set_labels (HWND dlg)
     { IDC_SIGN_DEFAULT,     N_("&Sign new messages by default")},
     { IDC_INLINE_PGP,       N_("&Send OpenPGP mails without "
                                "attachments as inline-pgp")},
-    { IDC_AUTORRESOLVE,     N_("&Search for OpenPGP keys automatically when encrypting")},
+//    { IDC_AUTORRESOLVE,     N_("&Search for OpenPGP keys automatically when encrypting")},
 
 
     { IDC_GPG_OPTIONS,      N_("Debug...")},
@@ -94,8 +94,8 @@ options_window_proc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
 #endif
           SendDlgItemMessage (hDlg, IDC_INLINE_PGP, BM_SETCHECK,
                               !!opt.inline_pgp, 0L);
-          SendDlgItemMessage (hDlg, IDC_AUTORRESOLVE, BM_SETCHECK,
-                              !!opt.autoresolve, 0L);
+//          SendDlgItemMessage (hDlg, IDC_AUTORRESOLVE, BM_SETCHECK,
+//                              !!opt.autoresolve, 0L);
           enable_disable_opts (hDlg);
           set_labels (hDlg);
           ShowWindow (GetDlgItem (hDlg, IDC_GPG_OPTIONS),
@@ -133,8 +133,8 @@ options_window_proc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
                 opt.inline_pgp = !!SendDlgItemMessage
                   (hDlg, IDC_INLINE_PGP, BM_GETCHECK, 0, 0L);
 
-                opt.autoresolve = !!SendDlgItemMessage
-                  (hDlg, IDC_AUTORRESOLVE, BM_GETCHECK, 0, 0L);
+//                opt.autoresolve = !!SendDlgItemMessage
+////                  (hDlg, IDC_AUTORRESOLVE, BM_GETCHECK, 0, 0L);
 
                 write_options ();
                 EndDialog (hDlg, TRUE);
index a3ee628..ba8cb8c 100644 (file)
@@ -329,7 +329,7 @@ BEGIN
 
     /* Send options box.  */
     GROUPBOX        "send-options", IDC_G_SEND,
-                    9, 50, 250, 60
+                    9, 50, 250, 50
 
     CONTROL         "encrypt-by-default", IDC_ENCRYPT_DEFAULT,
                     "Button", BS_AUTOCHECKBOX | WS_TABSTOP,
@@ -343,9 +343,9 @@ BEGIN
                     "Button", BS_AUTOCHECKBOX | WS_TABSTOP,
                     24, 82, 215, 10
 
-    CONTROL         "autoresolve", IDC_AUTORRESOLVE,
-                    "Button", BS_AUTOCHECKBOX | WS_TABSTOP,
-                    24, 93, 215, 10
+//    CONTROL         "autoresolve", IDC_AUTORRESOLVE,
+//                    "Button", BS_AUTOCHECKBOX | WS_TABSTOP,
+//                    24, 93, 215, 10
 
     /* Stuff at the lower left corner.  */
     LTEXT           "GpgOL by Gpg4win", IDC_GPG4WIN_STRING,