aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/e-calendar-view.c2
2 files changed, 8 insertions, 0 deletions
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 <pchenthill@novell.com>
+
+ Fixes #73969
+ * gui/e-calendar-view.c: (delete_event): Remove the
+ recurrence id property if its present.
+
2005-03-30 Li Yuan <li.yuan@sun.com>
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);
}