diff options
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/e-week-view.c | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 6300ae316f..cd2362f4a3 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,12 @@ 2008-10-20 Milan Crha <mcrha@redhat.com> + ** Fix for bug #553715 + + * gui/e-week-view.c: (e_week_view_on_editing_stopped): + Set end time for the event properly, not same as start time. + +2008-10-20 Milan Crha <mcrha@redhat.com> + ** Fix for bug #528816 * importers/icalendar-importer.c: (vcal_supported): We do not support diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 5e9a88c782..bd308ac35c 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -3613,12 +3613,12 @@ e_week_view_on_editing_stopped (EWeekView *week_view, e_cal_component_get_dtend (comp, &dt); if (dt.value->zone) { - *dt.value = icaltime_from_timet_with_zone ( + tt = icaltime_from_timet_with_zone ( event->comp_data->instance_end, dt.value->is_date, dt.value->zone); } else { - *dt.value = icaltime_from_timet_with_zone ( + tt = icaltime_from_timet_with_zone ( event->comp_data->instance_end, dt.value->is_date, e_calendar_view_get_timezone (E_CALENDAR_VIEW (week_view))); |