[Commits] [SCM] claws branch, master, updated. 3.13.2-174-gcca1d5d

ticho at claws-mail.org ticho at claws-mail.org
Sun Jul 10 14:59:23 CEST 2016


The branch, master has been updated
       via  cca1d5d3d111cf31f811bcbadfcf634a16859c8c (commit)
      from  38a69f674eaa7b4855d4b5b6f4b4fc7a0e79a3e3 (commit)

Summary of changes:
 src/plugins/pgpcore/pgp_viewer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit cca1d5d3d111cf31f811bcbadfcf634a16859c8c
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Sun Jul 10 14:57:16 2016 +0200

    Added --batch option to manual gpg executable calls.
    
    This, together with --no-tty, is to make these calls
    really non-interactive, and helps against the calls
    hanging on Windows occasionally.

diff --git a/src/plugins/pgpcore/pgp_viewer.c b/src/plugins/pgpcore/pgp_viewer.c
index f4256fb..d1b0448 100644
--- a/src/plugins/pgpcore/pgp_viewer.c
+++ b/src/plugins/pgpcore/pgp_viewer.c
@@ -166,7 +166,7 @@ static void pgpview_show_mime_part(TextView *textview, MimeInfo *partinfo)
 	gpgme_get_key(ctx, sig->fpr, &key, 0);
 	if (!key) {
 		gchar *gpgbin = get_gpg_executable_name();
-		gchar *cmd = g_strdup_printf("\"%s\" --no-tty --recv-keys %s",
+		gchar *cmd = g_strdup_printf("\"%s\" --batch --no-tty --recv-keys %s",
 				(gpgbin ? gpgbin : "gpg"), sig->fpr);
 		AlertValue val = G_ALERTDEFAULT;
 		if (!prefs_common_get_prefs()->work_offline) {

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list