aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html-print.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-05-19 14:46:23 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-05-19 14:46:23 +0800
commit11b0f20681a5d8fe4aaec622e3833b1ff1088b58 (patch)
treee5b37871f00dae69acc2a5e9a0d969d25f4ca17b /mail/em-format-html-print.c
parent1907cf0faa1b82a8e1bddf263f9b434f7009ac9c (diff)
downloadgsoc2013-evolution-11b0f20681a5d8fe4aaec622e3833b1ff1088b58.tar
gsoc2013-evolution-11b0f20681a5d8fe4aaec622e3833b1ff1088b58.tar.gz
gsoc2013-evolution-11b0f20681a5d8fe4aaec622e3833b1ff1088b58.tar.bz2
gsoc2013-evolution-11b0f20681a5d8fe4aaec622e3833b1ff1088b58.tar.lz
gsoc2013-evolution-11b0f20681a5d8fe4aaec622e3833b1ff1088b58.tar.xz
gsoc2013-evolution-11b0f20681a5d8fe4aaec622e3833b1ff1088b58.tar.zst
gsoc2013-evolution-11b0f20681a5d8fe4aaec622e3833b1ff1088b58.zip
new function to print a non-foldered message. untested.
2005-05-19 Not Zed <NotZed@Ximian.com> * em-format-html-print.c (em_format_html_print_raw_message): new function to print a non-foldered message. untested. svn path=/trunk/; revision=29385
Diffstat (limited to 'mail/em-format-html-print.c')
-rw-r--r--mail/em-format-html-print.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/em-format-html-print.c b/mail/em-format-html-print.c
index 6b252064a0..df12ddf856 100644
--- a/mail/em-format-html-print.c
+++ b/mail/em-format-html-print.c
@@ -233,6 +233,20 @@ int em_format_html_print_message(EMFormatHTMLPrint *efhp, EMFormatHTML *source,
return 0; /* damn async ... */
}
+int em_format_html_print_raw_message(EMFormatHTMLPrint *efhp, struct _GnomePrintConfig *print_config, struct _CamelMimeMessage *msg, int preview)
+{
+ efhp->config = print_config;
+ if (print_config)
+ g_object_ref(print_config);
+ efhp->source = NULL;
+ efhp->preview = preview;
+ g_object_ref(efhp);
+
+ emfhp_got_message(NULL, NULL, msg, efhp);
+
+ return 0;
+}
+
/* ********************************************************************** */
/* if only ... but i doubt this is possible with gnome print/gtkhtml */