From 8aa60af54eee1092e8963c0927c53e8f738eb4cd Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 27 Nov 2007 18:07:03 +0000 Subject: ** Fix for bug #500024 2007-11-27 Milan Crha ** Fix for bug #500024 * gui/print.c: (print_comp): Set number of pages first. svn path=/trunk/; revision=34597 --- calendar/ChangeLog | 6 ++++++ calendar/gui/print.c | 1 + 2 files changed, 7 insertions(+) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index f3fd948722..455ca35051 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2007-11-27 Milan Crha + + ** Fix for bug #500024 + + * gui/print.c: (print_comp): Set number of pages first. + 2007-11-27 Milan Crha ** Fix for bug #214645 diff --git a/calendar/gui/print.c b/calendar/gui/print.c index e56205c036..855271bb57 100644 --- a/calendar/gui/print.c +++ b/calendar/gui/print.c @@ -2535,6 +2535,7 @@ print_comp (ECalComponent *comp, ECal *client, GtkPrintOperationAction action) pci.client = client; operation = e_print_operation_new (); + gtk_print_operation_set_n_pages (operation, 1); g_signal_connect ( operation, "draw-page", -- cgit