From 59abc016932b2efae32c93d2767f0dfa06a79134 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 30 Jul 2001 17:34:33 +0000 Subject: Restore old security settings from the saved configuration. Fixes bug 2001-07-30 Jeffrey Stedfast * mail-account-gui.c (mail_account_gui_new): Restore old security settings from the saved configuration. Fixes bug #5710. svn path=/trunk/; revision=11479 --- mail/mail-tools.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'mail/mail-tools.c') diff --git a/mail/mail-tools.c b/mail/mail-tools.c index c1da8fea98..624afa324d 100644 --- a/mail/mail-tools.c +++ b/mail/mail-tools.c @@ -237,23 +237,23 @@ mail_tool_make_message_attachment (CamelMimeMessage *message) CamelMimePart *part; const char *subject; gchar *desc; - - /*camel_object_ref (CAMEL_OBJECT (message));*/ - + subject = camel_mime_message_get_subject (message); if (subject) desc = g_strdup_printf (_("Forwarded message - %s"), subject); else desc = g_strdup (_("Forwarded message (no subject)")); - + + /* FIXME: shouldn't we utf-8ify the description? */ + part = camel_mime_part_new (); camel_mime_part_set_disposition (part, "inline"); camel_mime_part_set_description (part, desc); camel_medium_set_content_object (CAMEL_MEDIUM (part), CAMEL_DATA_WRAPPER (message)); camel_mime_part_set_content_type (part, "message/rfc822"); - g_free(desc); - /*camel_object_unref (CAMEL_OBJECT (message));*/ + g_free (desc); + return part; } -- cgit