aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/prefer-plain
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-04-01 08:02:13 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-04-01 08:12:48 +0800
commit55d6580d8627a9a85df1e6b19529196d4d9ac95a (patch)
tree44ca6fbf16d4be1bace23baa9892f61560eb3fb4 /plugins/prefer-plain
parentf91c4d78082e75b66bd394840670a88be09ec63c (diff)
downloadgsoc2013-evolution-55d6580d8627a9a85df1e6b19529196d4d9ac95a.tar
gsoc2013-evolution-55d6580d8627a9a85df1e6b19529196d4d9ac95a.tar.gz
gsoc2013-evolution-55d6580d8627a9a85df1e6b19529196d4d9ac95a.tar.bz2
gsoc2013-evolution-55d6580d8627a9a85df1e6b19529196d4d9ac95a.tar.lz
gsoc2013-evolution-55d6580d8627a9a85df1e6b19529196d4d9ac95a.tar.xz
gsoc2013-evolution-55d6580d8627a9a85df1e6b19529196d4d9ac95a.tar.zst
gsoc2013-evolution-55d6580d8627a9a85df1e6b19529196d4d9ac95a.zip
Stop relying on CamelObject meta-data.
Diffstat (limited to 'plugins/prefer-plain')
-rw-r--r--plugins/prefer-plain/prefer-plain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/prefer-plain/prefer-plain.c b/plugins/prefer-plain/prefer-plain.c
index bd77e83a55..edfc8ff3de 100644
--- a/plugins/prefer-plain/prefer-plain.c
+++ b/plugins/prefer-plain/prefer-plain.c
@@ -83,7 +83,7 @@ org_gnome_prefer_plain_text_html (gpointer ep, EMFormatHookTarget *t)
if (epp_mode != EPP_TEXT
|| strstr (t->format->part_id->str, ".alternative-prefer-plain.") != NULL
|| em_format_is_inline (t->format, t->format->part_id->str, t->part, &(t->item->handler)))
- t->item->handler.old->handler (t->format, t->stream, t->part, t->item->handler.old);
+ t->item->handler.old->handler (t->format, t->stream, t->part, t->item->handler.old, FALSE);
else if (epp_show_suppressed)
make_part_attachment (t->format, t->stream, t->part, -1);
}
@@ -161,7 +161,7 @@ org_gnome_prefer_plain_multipart_alternative(gpointer ep, EMFormatHookTarget *t)
em_format_part_as (t->format, t->stream, display_part, "text/html");
g_string_truncate (t->format->part_id, partidlen);
} else {
- t->item->handler.old->handler (t->format, t->stream, t->part, t->item->handler.old);
+ t->item->handler.old->handler (t->format, t->stream, t->part, t->item->handler.old, FALSE);
}
return;
} else if (!CAMEL_IS_MULTIPART(mp)) {