aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorDamon Chaplin <damon@ximian.com>2001-11-10 06:41:43 +0800
committerDamon Chaplin <damon@src.gnome.org>2001-11-10 06:41:43 +0800
commit6a022cd38c443c1283ce04976754533a578672df (patch)
treee6f2cf0b153d3074b65f7cd8adc469144d6a4f57 /calendar
parent4eff83bee971f6f161f4c269c8d09e8d2b6ade58 (diff)
downloadgsoc2013-evolution-6a022cd38c443c1283ce04976754533a578672df.tar
gsoc2013-evolution-6a022cd38c443c1283ce04976754533a578672df.tar.gz
gsoc2013-evolution-6a022cd38c443c1283ce04976754533a578672df.tar.bz2
gsoc2013-evolution-6a022cd38c443c1283ce04976754533a578672df.tar.lz
gsoc2013-evolution-6a022cd38c443c1283ce04976754533a578672df.tar.xz
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
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/e-week-view.c2
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);