diff options
author | Bharath Acharya <abharath@novell.com> | 2008-11-07 13:07:39 +0800 |
---|---|---|
committer | Bharath Acharya <abharath@src.gnome.org> | 2008-11-07 13:07:39 +0800 |
commit | 4dc494f17579ff50ffc02bafb54dc277f1175273 (patch) | |
tree | f3427261b44010b2ba15384a5626f883ccd700e8 | |
parent | 1bdab0bda2600eec70915bab3e49bce0abdbc5a6 (diff) | |
download | gsoc2013-evolution-4dc494f17579ff50ffc02bafb54dc277f1175273.tar gsoc2013-evolution-4dc494f17579ff50ffc02bafb54dc277f1175273.tar.gz gsoc2013-evolution-4dc494f17579ff50ffc02bafb54dc277f1175273.tar.bz2 gsoc2013-evolution-4dc494f17579ff50ffc02bafb54dc277f1175273.tar.lz gsoc2013-evolution-4dc494f17579ff50ffc02bafb54dc277f1175273.tar.xz gsoc2013-evolution-4dc494f17579ff50ffc02bafb54dc277f1175273.tar.zst gsoc2013-evolution-4dc494f17579ff50ffc02bafb54dc277f1175273.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=/branches/gnome-2-24/; revision=36753
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/print.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 1f6316da05..9f1e897e6a 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2008-11-07 Bharath Acharya <abharath@novell.com> + + ** Fix for bug #440007 (bnc) + + * gui/print.c: (print_comp_draw_real): Print the attendees only if + its the first page. + 2008-10-31 Matthew Barnes <mbarnes@redhat.com> * gui/itip-utils.c (itip_send_comp): 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); |