aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/print.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2007-11-28 02:07:03 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-11-28 02:07:03 +0800
commit8aa60af54eee1092e8963c0927c53e8f738eb4cd (patch)
tree34748f41affcac990a013ce5275d779789c005da /calendar/gui/print.c
parent5ce84cd713e4e214bfed56443855d11bc96ce491 (diff)
downloadgsoc2013-evolution-8aa60af54eee1092e8963c0927c53e8f738eb4cd.tar.gz
gsoc2013-evolution-8aa60af54eee1092e8963c0927c53e8f738eb4cd.tar.zst
gsoc2013-evolution-8aa60af54eee1092e8963c0927c53e8f738eb4cd.zip
** Fix for bug #500024
2007-11-27 Milan Crha <mcrha@redhat.com> ** Fix for bug #500024 * gui/print.c: (print_comp): Set number of pages first. svn path=/trunk/; revision=34597
Diffstat (limited to 'calendar/gui/print.c')
-rw-r--r--calendar/gui/print.c1
1 files changed, 1 insertions, 0 deletions
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",