aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-03-29 01:17:52 +0800
committerDan Vrátil <dvratil@redhat.com>2012-03-29 01:17:52 +0800
commit7526d5ed934719a633fd29a5eb726c85a5f42f89 (patch)
treea288a0d8e2cbd8c2a676c58bfb26e31ea51906f1
parenta8c6d52801de1ce6698c0adf3eb8ab7fdac73947 (diff)
downloadgsoc2013-evolution-7526d5ed934719a633fd29a5eb726c85a5f42f89.tar.gz
gsoc2013-evolution-7526d5ed934719a633fd29a5eb726c85a5f42f89.tar.zst
gsoc2013-evolution-7526d5ed934719a633fd29a5eb726c85a5f42f89.zip
WebKit port - last-minute fix
-rw-r--r--mail/e-mail-request.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/e-mail-request.c b/mail/e-mail-request.c
index 34f1845a3c..12c322c942 100644
--- a/mail/e-mail-request.c
+++ b/mail/e-mail-request.c
@@ -83,6 +83,8 @@ handle_mail_request (GSimpleAsyncResult *res,
g_free (part_id);
} else {
+ if (info.mode == 0)
+ info.mode = EM_FORMAT_WRITE_MODE_NORMAL;
em_format_write (emf, request->priv->output_stream, &info, NULL);
}