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/gui/print.c | 1 + 1 file changed, 1 insertion(+) (limited to 'calendar/gui') 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