aboutsummaryrefslogtreecommitdiffstats
path: root/mail
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
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')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-callbacks.c4
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);