From 4a06c4e5e314629911a99e875194d1e72ff74bc5 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Tue, 11 May 2004 14:29:34 +0000 Subject: use/set the DUE date, not the DTEND date. 2004-05-11 Rodrigo Moya * gui/e-cal-model-tasks.c (set_due): use/set the DUE date, not the DTEND date. svn path=/trunk/; revision=25854 --- calendar/ChangeLog | 5 +++++ calendar/gui/e-cal-model-tasks.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 186eebcd7e..0ca5403f9e 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2004-05-11 Rodrigo Moya + + * gui/e-cal-model-tasks.c (set_due): use/set the DUE date, not + the DTEND date. + 2004-05-07 Umeshtej Fixes #58014 diff --git a/calendar/gui/e-cal-model-tasks.c b/calendar/gui/e-cal-model-tasks.c index fb958cbe89..7c0fb08638 100644 --- a/calendar/gui/e-cal-model-tasks.c +++ b/calendar/gui/e-cal-model-tasks.c @@ -545,7 +545,7 @@ set_due (ECalModelComponent *comp_data, const void *value) icalparameter *param; const char *tzid; - prop = icalcomponent_get_first_property (comp_data->icalcomp, ICAL_DTEND_PROPERTY); + prop = icalcomponent_get_first_property (comp_data->icalcomp, ICAL_DUE_PROPERTY); if (prop) param = icalproperty_get_first_parameter (prop, ICAL_TZID_PARAMETER); else @@ -570,9 +570,9 @@ set_due (ECalModelComponent *comp_data, const void *value) dv->tt.is_utc = 0; if (prop) { - icalproperty_set_dtend (prop, dv->tt); + icalproperty_set_due (prop, dv->tt); } else { - prop = icalproperty_new_dtend (dv->tt); + prop = icalproperty_new_due (dv->tt); icalcomponent_add_property (comp_data->icalcomp, prop); } -- cgit v1.2.3