[balsa/gtk3] Fix different handling of crypto icons
- From: Peter Bloomfield <PeterB src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk3] Fix different handling of crypto icons
- Date: Tue, 17 Dec 2013 02:06:03 +0000 (UTC)
commit 464b78b10cf32bdd18852a5b1b981e9edb19f1de
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Mon Dec 16 21:04:27 2013 -0500
Fix different handling of crypto icons
* libbalsa/rfc3156.c (libbalsa_body_decrypt): tree view icons
were handled differently for GPG and S/MIME.
ChangeLog | 5 +++++
libbalsa/rfc3156.c | 2 ++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6b383a0..8abc642 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2013-12-16 Albrecht Dreß
+ * libbalsa/rfc3156.c (libbalsa_body_decrypt): tree view icons
+ were handled differently for GPG and S/MIME.
+
+2013-12-16 Albrecht Dreß
+
Fix bgo #720443 (Lilith Bryant, dark141 at gmail dot com)
* libbalsa/rfc3156.c (libbalsa_body_decrypt): trivial patch
diff --git a/libbalsa/rfc3156.c b/libbalsa/rfc3156.c
index c1ac732..c9f664b 100644
--- a/libbalsa/rfc3156.c
+++ b/libbalsa/rfc3156.c
@@ -492,6 +492,8 @@ libbalsa_body_decrypt(LibBalsaMessageBody *body, gpgme_protocol_t protocol, GtkW
else
body->was_encrypted = smime_encrypted;
#endif
+ if (body->was_encrypted)
+ body->message->prot_state = LIBBALSA_MSG_PROTECT_CRYPT;
libbalsa_message_body_set_mime_body(body, mime_obj);
if (sig_state) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]