diff options
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/e-cal-model-tasks.c | 6 |
2 files changed, 8 insertions, 3 deletions
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 <rodrigo@ximian.com> + + * gui/e-cal-model-tasks.c (set_due): use/set the DUE date, not + the DTEND date. + 2004-05-07 Umeshtej <umeshtej@gawab.com> 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); } |