aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-07-31 01:34:33 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-07-31 01:34:33 +0800
commit59abc016932b2efae32c93d2767f0dfa06a79134 (patch)
treed840cbfd145df3f3681b55596b6dfcb5d74f35ab /mail/mail-tools.c
parent101e668310971c48e6a5f760c47327a7ccf95b50 (diff)
downloadgsoc2013-evolution-59abc016932b2efae32c93d2767f0dfa06a79134.tar
gsoc2013-evolution-59abc016932b2efae32c93d2767f0dfa06a79134.tar.gz
gsoc2013-evolution-59abc016932b2efae32c93d2767f0dfa06a79134.tar.bz2
gsoc2013-evolution-59abc016932b2efae32c93d2767f0dfa06a79134.tar.lz
gsoc2013-evolution-59abc016932b2efae32c93d2767f0dfa06a79134.tar.xz
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.c12
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;
}