"); 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, " |
| |||
"
" | ");
if (photo_name) {
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); } if (!contact_has_photo && face_decoded) { CamelMimePart *part; part = camel_mime_part_new (); camel_mime_part_set_content ( (CamelMimePart *) part, (const gchar *) face_header_value, face_header_len, "image/png"); g_string_append ( buffer, ""); write_contact_picture (part, 48, buffer); g_string_append (buffer, " | "); g_object_unref (part); g_free (face_header_value); } if (have_icon) { GtkIconInfo *icon_info; CamelMimePart *iconpart = NULL; icon_info = gtk_icon_theme_lookup_icon ( gtk_icon_theme_get_default (), "evolution", 16, GTK_ICON_LOOKUP_NO_SVG); if (icon_info != NULL) { iconpart = load_picture_from_file ( "image/png", gtk_icon_info_get_filename (icon_info), cancellable); gtk_icon_info_free (icon_info); } if (iconpart != NULL) { g_string_append ( buffer, ""); write_contact_picture (iconpart, 16, buffer); g_string_append (buffer, " | "); g_object_unref (iconpart); } } g_string_append (buffer, "
" "" " | ", EVOLUTION_IMAGESDIR, is_collapsed ? "plus.png" : "minus.png"); g_string_append (buffer, ""); if (is_collapsable) format_short_headers ( formatter, buffer, CAMEL_MEDIUM (mime_part), context->flags, cancellable); format_full_headers ( formatter, buffer, CAMEL_MEDIUM (mime_part), context->mode, context->flags, cancellable); g_string_append (buffer, " | "); g_string_append (buffer, "