From 2adb363ed3fff975224baff2c483b24c8277937f Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Thu, 31 Mar 2005 04:47:12 +0000 Subject: Fixes #73969 Remove the recurrence id property if its present. 2005-03-29 Chenthill Palanisamy Fixes #73969 * gui/e-calendar-view.c: (delete_event): Remove the recurrence id property if its present. svn path=/trunk/; revision=29128 --- calendar/ChangeLog | 6 ++++++ calendar/gui/e-calendar-view.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index e45435bfa4..67b38d1788 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2005-03-29 Chenthill Palanisamy + + Fixes #73969 + * gui/e-calendar-view.c: (delete_event): Remove the + recurrence id property if its present. + 2005-03-30 Li Yuan Fixes #73914 diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c index 4cd6f4ec2b..3c7902e5f2 100644 --- a/calendar/gui/e-calendar-view.c +++ b/calendar/gui/e-calendar-view.c @@ -813,6 +813,7 @@ delete_event (ECalendarView *cal_view, ECalendarViewEvent *event) comp = e_cal_component_new (); e_cal_component_set_icalcomponent (comp, icalcomponent_new_clone (event->comp_data->icalcomp)); vtype = e_cal_component_get_vtype (comp); + e_cal_component_set_recurid (comp, NULL); if (delete_component_dialog (comp, FALSE, 1, vtype, GTK_WIDGET (cal_view))) { const char *uid; @@ -832,6 +833,7 @@ delete_event (ECalendarView *cal_view, ECalendarViewEvent *event) } e_cal_remove_object (event->comp_data->client, uid, &error); + delete_error_dialog (error, E_CAL_COMPONENT_EVENT); g_clear_error (&error); } -- cgit