diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 4 |
2 files changed, 7 insertions, 2 deletions
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 <rodo@ximian.com> + + * mail-callbacks.c (do_mail_print): set paper size to + _("US-Letter"), use gtk_html_print_set_master + 2001-12-09 Jon Trowbridge <trow@ximian.com> * 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); |