[evolution/wip/webkit2] Bug 734646 - Do not load remote images on a message print



commit e042aeff1dffeb3b545d995b56f08a135e0b1ba4
Author: Milan Crha <mcrha redhat com>
Date:   Fri Nov 28 14:57:34 2014 +0100

    Bug 734646 - Do not load remote images on a message print

 mail/e-mail-printer.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/mail/e-mail-printer.c b/mail/e-mail-printer.c
index dd29a19..a26ea85 100644
--- a/mail/e-mail-printer.c
+++ b/mail/e-mail-printer.c
@@ -363,7 +363,8 @@ mail_printer_new_web_view (const gchar *charset,
                G_OBJECT (web_settings),
                "enable-frame-flattening", FALSE, NULL);
 
-       e_mail_display_set_force_load_images (E_MAIL_DISPLAY (web_view), TRUE);
+       /* Do not load remote images, print what user sees in the preview panel */
+       e_mail_display_set_force_load_images (E_MAIL_DISPLAY (web_view), FALSE);
 
        formatter = e_mail_display_get_formatter (E_MAIL_DISPLAY (web_view));
        if (charset != NULL && *charset != '\0')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]