diff options
author | Matthew W. S. Bell <matthew@bells23.org.uk> | 2009-12-17 03:19:58 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-12-17 03:19:58 +0800 |
commit | a4def5c093033ffe2fd645624235afaea8720f91 (patch) | |
tree | b528a9c46d8bd7e0e78d791dddc7d31171da49d8 /mail/em-format-html-display.c | |
parent | f65f8935bce5538d490d872e9838874c83717953 (diff) | |
download | gsoc2013-evolution-a4def5c093033ffe2fd645624235afaea8720f91.tar.gz gsoc2013-evolution-a4def5c093033ffe2fd645624235afaea8720f91.tar.zst gsoc2013-evolution-a4def5c093033ffe2fd645624235afaea8720f91.zip |
Bug #553057 - Show signer's information in a message window/preview
Diffstat (limited to 'mail/em-format-html-display.c')
-rw-r--r-- | mail/em-format-html-display.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c index 95197077f6..c795929091 100644 --- a/mail/em-format-html-display.c +++ b/mail/em-format-html-display.c @@ -565,12 +565,20 @@ efhd_format_secure (EMFormat *emf, g_free (classid); if (valid->sign.status != CAMEL_CIPHER_VALIDITY_SIGN_NONE) { + gchar *signers; const gchar *desc; gint status; status = valid->sign.status; desc = smime_sign_table[status].shortdesc; + camel_stream_printf (stream, "%s", gettext (desc)); + + signers = em_format_html_format_cert_infos ((CamelCipherCertInfo *)valid->sign.signers.head); + if (signers && *signers) { + camel_stream_printf (stream, " (%s)", signers); + } + g_free (signers); } if (valid->encrypt.status != CAMEL_CIPHER_VALIDITY_ENCRYPT_NONE) { |