evolution r36753 - in branches/gnome-2-24/calendar: . gui



Author: abharath
Date: Fri Nov  7 05:07:39 2008
New Revision: 36753
URL: http://svn.gnome.org/viewvc/evolution?rev=36753&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:
   branches/gnome-2-24/calendar/ChangeLog
   branches/gnome-2-24/calendar/gui/print.c

Modified: branches/gnome-2-24/calendar/gui/print.c
==============================================================================
--- branches/gnome-2-24/calendar/gui/print.c	(original)
+++ branches/gnome-2-24/calendar/gui/print.c	Fri Nov  7 05:07:39 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]