"
"
\n",
e_color_to_value ((GdkColor *)
e_mail_formatter_get_color (formatter, E_MAIL_FORMATTER_COLOR_FRAME)),
e_color_to_value ((GdkColor *)
e_mail_formatter_get_color (formatter, E_MAIL_FORMATTER_COLOR_CONTENT)),
e_color_to_value ((GdkColor *)
e_mail_formatter_get_color (formatter, E_MAIL_FORMATTER_COLOR_TEXT)));
camel_stream_write_string (stream, buffer->str, cancellable, NULL);
g_string_free (buffer, TRUE);
e_mail_formatter_format_text (
formatter, part, filtered_stream, cancellable);
camel_stream_flush (filtered_stream, cancellable, NULL);
g_object_unref (filtered_stream);
camel_stream_write_string (stream, "
", cancellable, NULL);
return TRUE;
}
static void
e_mail_formatter_text_enriched_class_init (EMailFormatterExtensionClass *class)
{
class->display_name = _("Richtext");
class->description = _("Display part as enriched text");
class->mime_types = formatter_mime_types;
class->priority = G_PRIORITY_LOW;
class->format = emfe_text_enriched_format;
}
static void
e_mail_formatter_text_enriched_init (EMailFormatterExtension *extension)
{
}