evolution r36752 - in trunk/calendar: . gui



Author: abharath
Date: Fri Nov  7 04:59:35 2008
New Revision: 36752
URL: http://svn.gnome.org/viewvc/evolution?rev=36752&view=rev

Log:
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.


Modified:
   trunk/calendar/ChangeLog
   trunk/calendar/gui/print.c

Modified: trunk/calendar/gui/print.c
==============================================================================
--- trunk/calendar/gui/print.c	(original)
+++ trunk/calendar/gui/print.c	Fri Nov  7 04:59:35 2008
@@ -2520,7 +2520,7 @@
 	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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]