aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-11-08 11:09:32 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-11-10 08:57:09 +0800
commit6db0e254190a80cf1cccb3629442b78e76c55b36 (patch)
tree7d3199173472fb0d4efc70f1ca6ecb56f75fccb4 /mail/em-format-html.c
parent214f3a8038667a7bf75c379b91a8a687095d4d05 (diff)
downloadgsoc2013-evolution-6db0e254190a80cf1cccb3629442b78e76c55b36.tar.gz
gsoc2013-evolution-6db0e254190a80cf1cccb3629442b78e76c55b36.tar.zst
gsoc2013-evolution-6db0e254190a80cf1cccb3629442b78e76c55b36.zip
Prototype an inline image plugin.
Uses GtkImageView to display the image.
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r--mail/em-format-html.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 47213dc5d5..29bb47653f 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -2105,6 +2105,7 @@ efh_image(EMFormatHTML *efh, CamelStream *stream, CamelMimePart *part, EMFormatH
}
static EMFormatHandler type_builtin_table[] = {
+#if 0
{ (gchar *) "image/gif", (EMFormatFunc)efh_image },
{ (gchar *) "image/jpeg", (EMFormatFunc)efh_image },
{ (gchar *) "image/png", (EMFormatFunc)efh_image },
@@ -2120,6 +2121,7 @@ static EMFormatHandler type_builtin_table[] = {
{ (gchar *) "image/x-portable-graymap", (EMFormatFunc)efh_image },
{ (gchar *) "image/x-portable-pixmap", (EMFormatFunc)efh_image },
{ (gchar *) "image/x-xpixmap", (EMFormatFunc)efh_image },
+#endif
{ (gchar *) "text/enriched", (EMFormatFunc)efh_text_enriched },
{ (gchar *) "text/plain", (EMFormatFunc)efh_text_plain },
{ (gchar *) "text/html", (EMFormatFunc)efh_text_html },
@@ -2133,8 +2135,10 @@ static EMFormatHandler type_builtin_table[] = {
that some idiot mailer writers out there decide to pull out
of their proverbials at random. */
+#if 0
{ (gchar *) "image/jpg", (EMFormatFunc)efh_image },
{ (gchar *) "image/pjpeg", (EMFormatFunc)efh_image },
+#endif
/* special internal types */