aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-view.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2005-03-31 12:47:12 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-03-31 12:47:12 +0800
commit2adb363ed3fff975224baff2c483b24c8277937f (patch)
tree443a7cf2c7fe0d2d2b109cfbb1298bf494dd97bb /calendar/gui/e-calendar-view.c
parentf50476d67a26fcd122f7ab06a3c3e9531a25d5df (diff)
downloadgsoc2013-evolution-2adb363ed3fff975224baff2c483b24c8277937f.tar
gsoc2013-evolution-2adb363ed3fff975224baff2c483b24c8277937f.tar.gz
gsoc2013-evolution-2adb363ed3fff975224baff2c483b24c8277937f.tar.bz2
gsoc2013-evolution-2adb363ed3fff975224baff2c483b24c8277937f.tar.lz
gsoc2013-evolution-2adb363ed3fff975224baff2c483b24c8277937f.tar.xz
gsoc2013-evolution-2adb363ed3fff975224baff2c483b24c8277937f.tar.zst
gsoc2013-evolution-2adb363ed3fff975224baff2c483b24c8277937f.zip
Fixes #73969 Remove the recurrence id property if its present.
2005-03-29 Chenthill Palanisamy <pchenthill@novell.com> Fixes #73969 * gui/e-calendar-view.c: (delete_event): Remove the recurrence id property if its present. svn path=/trunk/; revision=29128
Diffstat (limited to 'calendar/gui/e-calendar-view.c')
-rw-r--r--calendar/gui/e-calendar-view.c2
1 files changed, 2 insertions, 0 deletions
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);
}