aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2007-11-28 02:07:29 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-11-28 02:07:29 +0800
commit25ad90f0b04f9e51f181a75add99af1815e74e1c (patch)
treec0e061c98d52c0c909a969269ef81220701dc2b8
parentc5a861314b13941ec2b960e7495b0fcf577447f3 (diff)
downloadgsoc2013-evolution-25ad90f0b04f9e51f181a75add99af1815e74e1c.tar
gsoc2013-evolution-25ad90f0b04f9e51f181a75add99af1815e74e1c.tar.gz
gsoc2013-evolution-25ad90f0b04f9e51f181a75add99af1815e74e1c.tar.bz2
gsoc2013-evolution-25ad90f0b04f9e51f181a75add99af1815e74e1c.tar.lz
gsoc2013-evolution-25ad90f0b04f9e51f181a75add99af1815e74e1c.tar.xz
gsoc2013-evolution-25ad90f0b04f9e51f181a75add99af1815e74e1c.tar.zst
gsoc2013-evolution-25ad90f0b04f9e51f181a75add99af1815e74e1c.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=/branches/gnome-2-20/; revision=34598
-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 36efd622ec..84464055e0 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-27 Milan Crha <mcrha@redhat.com>
+
+ ** Fix for bug #500024
+
+ * gui/print.c: (print_comp): Set number of pages first.
+
2007-11-26 Milan Crha <mcrha@redhat.com>
** Fix for bug #380644
diff --git a/calendar/gui/print.c b/calendar/gui/print.c
index e1f07de8aa..e0850151d5 100644
--- a/calendar/gui/print.c
+++ b/calendar/gui/print.c
@@ -2467,6 +2467,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",