From dd4194325e2ac7664af8d1ed990987beae0aeeeb Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Wed, 20 Jul 2005 05:38:52 +0000 Subject: Fixes #309680 Remove the recurrence id only from e_cal_comp. 2005-07-20 Chenthill Palanisamy Fixes #309680 * gui/e-calendar-view.c (on_unrecur_appointment): Remove the recurrence id only from e_cal_comp. svn path=/trunk/; revision=29807 --- calendar/ChangeLog | 6 ++++++ calendar/gui/e-calendar-view.c | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 956a4ce947..995e634c47 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2005-07-20 Chenthill Palanisamy + + Fixes #309680 + * gui/e-calendar-view.c (on_unrecur_appointment): Remove + the recurrence id only from e_cal_comp. + 2005-07-08 Kjartan Maraas * gui/alarm-notify/alarm-notify.c: (alarm_notify_add_calendar): diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c index df35cccf4b..a02c91e6b5 100644 --- a/calendar/gui/e-calendar-view.c +++ b/calendar/gui/e-calendar-view.c @@ -1419,9 +1419,7 @@ on_unrecur_appointment (EPopup *ep, EPopupItem *pitem, void *data) the start & end times to the instances times. */ new_comp = e_cal_component_new (); e_cal_component_set_icalcomponent (new_comp, icalcomponent_new_clone (event->comp_data->icalcomp)); - if ((prop = icalcomponent_get_first_property (e_cal_component_get_icalcomponent (new_comp), - ICAL_RECURRENCEID_PROPERTY))) - icalcomponent_remove_property (e_cal_component_get_icalcomponent (new_comp), prop); + new_uid = e_cal_component_gen_uid (); e_cal_component_set_uid (new_comp, new_uid); g_free (new_uid); -- cgit