[evolution/gnome-3-34] I#696 - Copying event in calendar does not sustain duration of event
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-34] I#696 - Copying event in calendar does not sustain duration of event
- Date: Tue, 5 Nov 2019 13:31:11 +0000 (UTC)
commit 1b524b2ff4d47f5787ab5c9a174b06e2353a6f56
Author: Milan Crha <mcrha redhat com>
Date: Tue Nov 5 14:30:09 2019 +0100
I#696 - Copying event in calendar does not sustain duration of event
Closes https://gitlab.gnome.org/GNOME/evolution/issues/696
src/calendar/gui/e-calendar-view.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/calendar/gui/e-calendar-view.c b/src/calendar/gui/e-calendar-view.c
index 0b8ce105ca..7d91fdcfcb 100644
--- a/src/calendar/gui/e-calendar-view.c
+++ b/src/calendar/gui/e-calendar-view.c
@@ -767,8 +767,8 @@ e_calendar_view_add_event_sync (ECalModel *model,
i_cal_time_set_is_date (itime, FALSE);
btime = i_cal_time_add (itime, ic_dur);
if (all_day_event)
- i_cal_time_set_is_date (itime, TRUE);
- i_cal_component_set_dtend (icomp, itime);
+ i_cal_time_set_is_date (btime, TRUE);
+ i_cal_component_set_dtend (icomp, btime);
g_clear_object (&itime);
g_clear_object (&btime);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]