diff options
author | Damon Chaplin <damon@ximian.com> | 2001-11-10 06:41:43 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-11-10 06:41:43 +0800 |
commit | 6a022cd38c443c1283ce04976754533a578672df (patch) | |
tree | e6f2cf0b153d3074b65f7cd8adc469144d6a4f57 | |
parent | 4eff83bee971f6f161f4c269c8d09e8d2b6ade58 (diff) | |
download | gsoc2013-evolution-6a022cd38c443c1283ce04976754533a578672df.tar.gz gsoc2013-evolution-6a022cd38c443c1283ce04976754533a578672df.tar.zst gsoc2013-evolution-6a022cd38c443c1283ce04976754533a578672df.zip |
don't subtract a day from DTEND. For DATE values we don't include the
2001-11-09 Damon Chaplin <damon@ximian.com>
* gui/e-week-view.c (e_week_view_key_press): don't subtract a day
from DTEND. For DATE values we don't include the entire day now.
Fixes bug #14842.
svn path=/trunk/; revision=14651
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/e-week-view.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 1ef3e03484..546e83e404 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,11 @@ 2001-11-09 Damon Chaplin <damon@ximian.com> + * gui/e-week-view.c (e_week_view_key_press): don't subtract a day + from DTEND. For DATE values we don't include the entire day now. + Fixes bug #14842. + +2001-11-09 Damon Chaplin <damon@ximian.com> + * gui/e-week-view-layout.c (e_week_view_layout_events): fix buffer overflow. Fixes bug #10285 (the printing of lines & dates in the printout of the month view). diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 4ab60ffc78..e6e455863c 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -3317,10 +3317,8 @@ e_week_view_key_press (GtkWidget *widget, GdkEventKey *event) week_view->zone); cal_component_set_dtstart (comp, &date); - /* We have to take a day off the end time as it is a DATE value. */ *date.value = icaltime_from_timet_with_zone (dtend, TRUE, week_view->zone); - icaltime_adjust (date.value, -1, 0, 0, 0); cal_component_set_dtend (comp, &date); cal_component_set_categories (comp, week_view->default_category); |