diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-07-31 01:34:33 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-07-31 01:34:33 +0800 |
commit | 59abc016932b2efae32c93d2767f0dfa06a79134 (patch) | |
tree | d840cbfd145df3f3681b55596b6dfcb5d74f35ab /mail/mail-tools.c | |
parent | 101e668310971c48e6a5f760c47327a7ccf95b50 (diff) | |
download | gsoc2013-evolution-59abc016932b2efae32c93d2767f0dfa06a79134.tar.gz gsoc2013-evolution-59abc016932b2efae32c93d2767f0dfa06a79134.tar.zst gsoc2013-evolution-59abc016932b2efae32c93d2767f0dfa06a79134.zip |
Restore old security settings from the saved configuration. Fixes bug
2001-07-30 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (mail_account_gui_new): Restore old security
settings from the saved configuration. Fixes bug #5710.
svn path=/trunk/; revision=11479
Diffstat (limited to 'mail/mail-tools.c')
-rw-r--r-- | mail/mail-tools.c | 12 |
1 files changed, 6 insertions, 6 deletions
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; } |