aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/print.c
diff options
context:
space:
mode:
authorBharath Acharya <abharath@novell.com>2008-11-07 12:59:35 +0800
committerBharath Acharya <abharath@src.gnome.org>2008-11-07 12:59:35 +0800
commit507262bcd6876a4f44a40bc57d059d47584541d5 (patch)
treea4e346a61b0a1782cab3949fd6350674fb978fbc /calendar/gui/print.c
parentf0e5be67de227a5a77497396feb6317a5d3373d4 (diff)
downloadgsoc2013-evolution-507262bcd6876a4f44a40bc57d059d47584541d5.tar.gz
gsoc2013-evolution-507262bcd6876a4f44a40bc57d059d47584541d5.tar.zst
gsoc2013-evolution-507262bcd6876a4f44a40bc57d059d47584541d5.zip
** Fix for bug #440007 (bnc) Print Preview of Calendar Event Shows Blank
2008-11-07 Bharath Acharya <abharath@novell.com> ** Fix for bug #440007 (bnc) Print Preview of Calendar Event Shows Blank Page Before Data * gui/print.c: (print_comp_draw_real): Print the attendees only if its the first page. svn path=/trunk/; revision=36752
Diffstat (limited to 'calendar/gui/print.c')
-rw-r--r--calendar/gui/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/print.c b/calendar/gui/print.c
index b446b4ff61..28cb2b7dc7 100644
--- a/calendar/gui/print.c
+++ b/calendar/gui/print.c
@@ -2520,7 +2520,7 @@ print_comp_draw_real (GtkPrintOperation *operation,
top += 20;
/* Attendees */
- if (e_cal_component_has_attendees (comp)) {
+ if ((page_nr == 0) && e_cal_component_has_attendees (comp)) {
top = bound_text (context, font, _("Attendees: "), -1, 0.0, top, width, height, FALSE, &page_start, &pages);
pango_font_description_free (font);
font = get_font_for_size (12, PANGO_WEIGHT_NORMAL);