aboutsummaryrefslogtreecommitdiffstats
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
parent5ce84cd713e4e214bfed56443855d11bc96ce491 (diff)
downloadgsoc2013-evolution-8aa60af54eee1092e8963c0927c53e8f738eb4cd.tar
gsoc2013-evolution-8aa60af54eee1092e8963c0927c53e8f738eb4cd.tar.gz
gsoc2013-evolution-8aa60af54eee1092e8963c0927c53e8f738eb4cd.tar.bz2
gsoc2013-evolution-8aa60af54eee1092e8963c0927c53e8f738eb4cd.tar.lz
gsoc2013-evolution-8aa60af54eee1092e8963c0927c53e8f738eb4cd.tar.xz
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
-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",