aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-view.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-11-25 06:35:33 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-11-25 06:35:33 +0800
commit2f99f8636abd7efc68bfa5de1591c594e9f532eb (patch)
tree37ad675b94242355b46e3b5f87ba116b3793a43a /mail/em-folder-view.c
parenta25373060b564e28d09c14248126b0b60f679c26 (diff)
downloadgsoc2013-evolution-2f99f8636abd7efc68bfa5de1591c594e9f532eb.tar.gz
gsoc2013-evolution-2f99f8636abd7efc68bfa5de1591c594e9f532eb.tar.zst
gsoc2013-evolution-2f99f8636abd7efc68bfa5de1591c594e9f532eb.zip
set session on print formatter for signatures to work.
2003-11-25 Not Zed <NotZed@Ximian.com> * em-folder-view.c (em_folder_view_print): set session on print formatter for signatures to work. * em-message-browser.c (emmb_destroy): kill warning. * em-format-html.c (efh_output_secure): same as efhd_output_secure, output the security bar, but for printing/plain html. (efh_application_xpkcs7mime): use output_secure. (em_format_html_multipart_signed_sign): removed, output_secure does what this did. * em-format-html-display.c (smime_sign_table, smime_encrypt_table): Added a short description for the mail display. (efhd_xpkcs7mime_button): only good/bad signature at this point, if only encrypted, then display 'bad' icon. (efhd_output_secure): output the security bar/button and handle multi-level enveloping properly. (efhd_application_xpkcs7mime): just call output_secure to do the security bar. (efhd_multipart_signed): same. (efhd_signature_button): removed, no longer used. (efhd_signature_check): removed, no longer used. svn path=/trunk/; revision=23483
Diffstat (limited to 'mail/em-folder-view.c')
-rw-r--r--mail/em-folder-view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index ffece26fac..602993e8f9 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -1597,6 +1597,7 @@ int em_folder_view_print(EMFolderView *emfv, int preview)
}
print = em_format_html_print_new();
+ em_format_set_session((EMFormat *)print, ((EMFormat *)emfv->preview)->session);
res = em_format_html_print_print(print, msg, (EMFormatHTML *)emfv->preview, config, preview);
g_object_unref(print);
if (config)