Always decrypt.
authorWerner Koch <wk@gnupg.org>
Fri, 18 Apr 2008 08:24:20 +0000 (08:24 +0000)
committerWerner Koch <wk@gnupg.org>
Fri, 18 Apr 2008 08:24:20 +0000 (08:24 +0000)
Makefile.am
patches/gpgol/01-always-decrypt.patch [new file with mode: 0755]

index 033363a..f3fcfc3 100644 (file)
@@ -60,6 +60,7 @@ EXTRA_DIST = autogen.sh README.SVN \
        patches/gpgme/01-gpg2.patch \
         patches/gnupg-1.4.8/01-gpgconf-list.patch \
        patches/winpt/01-gpg-path.patch \
+       patches/gpgol/01-always-encrypt.patch \
        patches/gnupg2-2.0.9/01-close-all-handle.patch \
        patches/gnupg2-2.0.9/02-de.po-fix.patch \
        patches/gnupg2-2.0.9/03-i18n+etc.patch \
diff --git a/patches/gpgol/01-always-decrypt.patch b/patches/gpgol/01-always-decrypt.patch
new file mode 100755 (executable)
index 0000000..e957e20
--- /dev/null
@@ -0,0 +1,22 @@
+#! /bin/sh
+patch -p0 -f $* < $0
+exit $?
+
+
+
+--- src/message-events.cpp      (revision 247)
++++ src/message-events.cpp      (working copy)
+@@ -127,6 +127,11 @@
+        shows a grey window with a notice that the message can't be 
+        shown due to active content.  */  
++  /* The is_inspector_display function is not reliable enough.
++     Missing another solution we set it to true for now with the
++     result that the preview decryption can't be disabled.  */
++  m_gotinspector = 1;
++  
+   if (m_gotinspector || opt.preview_decrypt)
+     {
+       eecb->GetObject (&mdb, (LPMAPIPROP *)&message);
+
+