From edf6873ade3d455f16be169a88c54819f32cea9c Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Mon, 10 Dec 2001 17:29:56 +0000 Subject: set paper size to _("US-Letter"), use gtk_html_print_set_master 2001-12-05 Radek Doulik * mail-callbacks.c (do_mail_print): set paper size to _("US-Letter"), use gtk_html_print_set_master svn path=/trunk/; revision=14953 --- mail/ChangeLog | 5 +++++ mail/mail-callbacks.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index d2f513f89c..d10ff2a319 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-12-05 Radek Doulik + + * mail-callbacks.c (do_mail_print): set paper size to + _("US-Letter"), use gtk_html_print_set_master + 2001-12-09 Jon Trowbridge * message-list.c: #include "art/mail-need-reply.xpm". 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); -- cgit