aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/print.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index f3fd948722..455ca35051 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,11 @@
2007-11-27 Milan Crha <mcrha@redhat.com>
+ ** Fix for bug #500024
+
+ * gui/print.c: (print_comp): Set number of pages first.
+
+2007-11-27 Milan Crha <mcrha@redhat.com>
+
** Fix for bug #214645
* gui/e-week-view.c: (e_week_view_get_day_position),
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",