"); else g_string_append (buffer, " | "); g_string_append (buffer, ""); if (subject != NULL && *subject != '\0') g_string_append (buffer, subject); else g_string_append (buffer, _("(no subject)")); g_string_append (buffer, ""); if (from->len > 0) g_string_append_printf (buffer, " (%s)", from->str); g_string_append (buffer, " |
| ||
"
" | ");
show_sender_photo =
e_mail_formatter_get_show_sender_photo (formatter);
/* Prefer contact photos over archaic "Face" headers. */
if (show_sender_photo && photo_name != NULL) {
gchar *name;
name = g_uri_escape_string (photo_name, NULL, FALSE);
g_string_append (
buffer,
""); g_string_append_printf ( buffer, "", name); g_string_append (buffer, " | "); g_free (name); } else if (face_header_value != NULL) { CamelMimePart *image_part; image_part = camel_mime_part_new (); camel_mime_part_set_content ( image_part, (const gchar *) face_header_value, face_header_len, "image/png"); g_string_append ( buffer, ""); write_contact_picture (image_part, 48, buffer); g_string_append (buffer, " | "); g_object_unref (image_part); g_free (face_header_value); } g_string_append (buffer, "
" "" " | ", EVOLUTION_IMAGESDIR, is_collapsed ? "plus.png" : "minus.png"); g_string_append (buffer, ""); if (is_collapsable) format_short_headers ( formatter, buffer, part, context->flags, cancellable); format_full_headers ( formatter, buffer, part, context->mode, context->flags, cancellable); g_string_append (buffer, " | "); g_string_append (buffer, "