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
This commit is contained in:

committed by
Radek Doulik

parent
7cdf441965
commit
edf6873ade
@ -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>
|
2001-12-09 Jon Trowbridge <trow@ximian.com>
|
||||||
|
|
||||||
* message-list.c: #include "art/mail-need-reply.xpm".
|
* message-list.c: #include "art/mail-need-reply.xpm".
|
||||||
|
@ -2367,12 +2367,12 @@ do_mail_print (FolderBrowser *fb, gboolean preview)
|
|||||||
|
|
||||||
print_master = gnome_print_master_new ();
|
print_master = gnome_print_master_new ();
|
||||||
|
|
||||||
/* FIXME: set paper size gnome_print_master_set_paper (print_master, */
|
|
||||||
|
|
||||||
if (printer)
|
if (printer)
|
||||||
gnome_print_master_set_printer (print_master, 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);
|
gnome_print_master_set_copies (print_master, copies, collate);
|
||||||
print_context = gnome_print_master_get_context (print_master);
|
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);
|
gtk_html_print (fb->mail_display->html, print_context);
|
||||||
gnome_print_master_close (print_master);
|
gnome_print_master_close (print_master);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user