aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html-display.c
diff options
context:
space:
mode:
authorKarsten Bräckelmann <guenther@rudersport.de>2004-08-07 01:36:01 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-08-07 01:36:01 +0800
commitbacab97bb28c6c8c2915e94a3da9034c3afbb0a7 (patch)
treeb1ecefde02bd92cdc3f78bde39ac89eae9278209 /mail/em-format-html-display.c
parentb01d6707092b2acc9c6fbe1180b0a631fe7b46da (diff)
downloadgsoc2013-evolution-bacab97bb28c6c8c2915e94a3da9034c3afbb0a7.tar
gsoc2013-evolution-bacab97bb28c6c8c2915e94a3da9034c3afbb0a7.tar.gz
gsoc2013-evolution-bacab97bb28c6c8c2915e94a3da9034c3afbb0a7.tar.bz2
gsoc2013-evolution-bacab97bb28c6c8c2915e94a3da9034c3afbb0a7.tar.lz
gsoc2013-evolution-bacab97bb28c6c8c2915e94a3da9034c3afbb0a7.tar.xz
gsoc2013-evolution-bacab97bb28c6c8c2915e94a3da9034c3afbb0a7.tar.zst
gsoc2013-evolution-bacab97bb28c6c8c2915e94a3da9034c3afbb0a7.zip
minor typo, uppercase 'the' corrected.
2004-06-08 Karsten Bräckelmann <guenther@rudersport.de> * em-format-html-display.c (smime_encrypt_table[4]): minor typo, uppercase 'the' corrected. svn path=/trunk/; revision=26841
Diffstat (limited to 'mail/em-format-html-display.c')
-rw-r--r--mail/em-format-html-display.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index fd5e653625..e0d5977153 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -647,7 +647,7 @@ static const struct {
static const struct {
const char *icon, *shortdesc, *description;
} smime_encrypt_table[4] = {
- { "stock_lock-broken", N_("Unencrypted"), N_("This message is not encrypted. Its content may be viewed in transit across The Internet.") },
+ { "stock_lock-broken", N_("Unencrypted"), N_("This message is not encrypted. Its content may be viewed in transit across the Internet.") },
{ "stock_lock-ok", N_("Encrypted, weak"), N_("This message is encrypted, but with a weak encryption algorithm. It would be difficult, but not impossible for an outsider to view the content of this message in a practical amount of time.") },
{ "stock_lock-ok", N_("Encrypted"), N_("This message is encrypted. It would be difficult for an outsider to view the content of this message.") },
{ "stock_lock-ok", N_("Encrypted, strong"), N_("This message is encrypted, with a strong encryption algorithm. It would be very difficult for an outsider to view the content of this message in a practical amount of time.") },
@@ -1373,7 +1373,13 @@ efhd_bonobo_object(EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPObject *
/* Write the data to a CamelStreamMem... */
cstream = (CamelStreamMem *)camel_stream_mem_new();
wrapper = camel_medium_get_content_object((CamelMedium *)pobject->part);
- camel_data_wrapper_decode_to_stream(wrapper, (CamelStream *)cstream);
+ if (FALSE && !g_ascii_strncasecmp (eb->type, "text/", 5)) {
+ /* do charset conversion, etc */
+ printf ("performing charset conversion for %s component\n", eb->type);
+ em_format_format_text ((EMFormat *) efh, (CamelStream *) cstream, wrapper);
+ } else {
+ camel_data_wrapper_decode_to_stream (wrapper, (CamelStream *) cstream);
+ }
/* ...convert the CamelStreamMem to a BonoboStreamMem... */
bstream = bonobo_stream_mem_create(cstream->buffer->data, cstream->buffer->len, TRUE, FALSE);