diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-10-01 19:18:59 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-10-01 19:18:59 +0800 |
commit | 1172430c0cacb388cace35cba714432e493b8ca0 (patch) | |
tree | 1273a2e415bd99786dc9c35bb97e064665c77a78 /calendar | |
parent | 753b2421e18cbf69628e9552fb672fcdc2975e06 (diff) | |
download | gsoc2013-evolution-1172430c0cacb388cace35cba714432e493b8ca0.tar gsoc2013-evolution-1172430c0cacb388cace35cba714432e493b8ca0.tar.gz gsoc2013-evolution-1172430c0cacb388cace35cba714432e493b8ca0.tar.bz2 gsoc2013-evolution-1172430c0cacb388cace35cba714432e493b8ca0.tar.lz gsoc2013-evolution-1172430c0cacb388cace35cba714432e493b8ca0.tar.xz gsoc2013-evolution-1172430c0cacb388cace35cba714432e493b8ca0.tar.zst gsoc2013-evolution-1172430c0cacb388cace35cba714432e493b8ca0.zip |
fixes #244981.
svn path=/trunk/; revision=30461
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/print.c | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 92df29159c..3ada63611e 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,11 @@ 2005-10-01 Chenthill Palanisamy <pchenthill@novell.com> + Fixes #244981 + * gui/print.c: (print_week_day_event): Add the end date + while printing in the week view. + +2005-10-01 Chenthill Palanisamy <pchenthill@novell.com> + Fixes #316954 * gui/e-calendar-view.c: (e_calendar_view_edit_appointment): Set the USER_ORG flag if the appointment is converted to a meeting. diff --git a/calendar/gui/print.c b/calendar/gui/print.c index 0fdd717abb..717c9d2110 100644 --- a/calendar/gui/print.c +++ b/calendar/gui/print.c @@ -1377,6 +1377,15 @@ print_week_day_event (GnomePrintContext *pc, GnomeFont *font, print_rectangle (pc, x1, x2, y1, y2, red, green, blue); print_text_size (pc, buffer, ALIGN_LEFT, x1, x2, y1, y2); x1 += gnome_font_get_width_utf8 (font, buffer) + 4; + + date_tm.tm_hour = event->end_minute / 60; + date_tm.tm_min = event->end_minute % 60; + + e_time_format_time (&date_tm, psi->use_24_hour_format, FALSE, + buffer, sizeof (buffer)); + + print_text_size (pc, buffer, ALIGN_LEFT, x1, x2, y1, y2); + x1 += gnome_font_get_width_utf8 (font, buffer) + 4; print_text_size (pc, text, ALIGN_LEFT, x1, x2, y1, y2); } |