diff options
author | Suman Manjunath <msuman@src.gnome.org> | 2008-10-20 12:57:01 +0800 |
---|---|---|
committer | Suman Manjunath <msuman@src.gnome.org> | 2008-10-20 12:57:01 +0800 |
commit | e21c5fe007fc309c1d90460e3cac65331f960056 (patch) | |
tree | db87816aadb5344b0885e165afb7b768e4e9c238 | |
parent | dff84c06b09b4883e73758a08b3b285185c6f120 (diff) | |
download | gsoc2013-evolution-e21c5fe007fc309c1d90460e3cac65331f960056.tar gsoc2013-evolution-e21c5fe007fc309c1d90460e3cac65331f960056.tar.gz gsoc2013-evolution-e21c5fe007fc309c1d90460e3cac65331f960056.tar.bz2 gsoc2013-evolution-e21c5fe007fc309c1d90460e3cac65331f960056.tar.lz gsoc2013-evolution-e21c5fe007fc309c1d90460e3cac65331f960056.tar.xz gsoc2013-evolution-e21c5fe007fc309c1d90460e3cac65331f960056.tar.zst gsoc2013-evolution-e21c5fe007fc309c1d90460e3cac65331f960056.zip |
Milan Crha <mcrha@redhat.com> ** Fix for bug #553715 (Set end time for the event properly, not same as start time).
svn path=/trunk/; revision=36661
-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))); |