aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2001-12-11 01:29:56 +0800
committerRadek Doulik <rodo@src.gnome.org>2001-12-11 01:29:56 +0800
commitedf6873ade3d455f16be169a88c54819f32cea9c (patch)
treeb9141f255f99422f34a609aa0f7cd8c6ef15c0e6 /mail/mail-callbacks.c
parent7cdf441965e654cc407a245482ee17467fb376e8 (diff)
downloadgsoc2013-evolution-edf6873ade3d455f16be169a88c54819f32cea9c.tar.gz
gsoc2013-evolution-edf6873ade3d455f16be169a88c54819f32cea9c.tar.zst
gsoc2013-evolution-edf6873ade3d455f16be169a88c54819f32cea9c.zip
set paper size to _("US-Letter"), use gtk_html_print_set_master
2001-12-05 Radek Doulik <rodo@ximian.com> * mail-callbacks.c (do_mail_print): set paper size to _("US-Letter"), use gtk_html_print_set_master svn path=/trunk/; revision=14953
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index d627ab4da6..494bd2a1fa 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -2367,12 +2367,12 @@ do_mail_print (FolderBrowser *fb, gboolean preview)
print_master = gnome_print_master_new ();
-/* FIXME: set paper size gnome_print_master_set_paper (print_master, */
-
if (printer)
gnome_print_master_set_printer (print_master, printer);
+ gnome_print_master_set_paper (print_master, gnome_paper_with_name (_("US-Letter")));
gnome_print_master_set_copies (print_master, copies, collate);
print_context = gnome_print_master_get_context (print_master);
+ gtk_html_print_set_master (fb->mail_display->html, print_master);
gtk_html_print (fb->mail_display->html, print_context);
gnome_print_master_close (print_master);