aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2005-07-20 13:38:52 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-07-20 13:38:52 +0800
commitdd4194325e2ac7664af8d1ed990987beae0aeeeb (patch)
tree10af85a42580555baeb04e388acaa2625dfefa0f
parent3bfdb518bdfbab38ed63c70e8b3e68fe9da422f0 (diff)
downloadgsoc2013-evolution-dd4194325e2ac7664af8d1ed990987beae0aeeeb.tar.gz
gsoc2013-evolution-dd4194325e2ac7664af8d1ed990987beae0aeeeb.tar.zst
gsoc2013-evolution-dd4194325e2ac7664af8d1ed990987beae0aeeeb.zip
Fixes #309680 Remove the recurrence id only from e_cal_comp.
2005-07-20 Chenthill Palanisamy <pchenthill@novell.com> Fixes #309680 * gui/e-calendar-view.c (on_unrecur_appointment): Remove the recurrence id only from e_cal_comp. svn path=/trunk/; revision=29807
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/e-calendar-view.c4
2 files changed, 7 insertions, 3 deletions
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 <pchenthill@novell.com>
+
+ Fixes #309680
+ * gui/e-calendar-view.c (on_unrecur_appointment): Remove
+ the recurrence id only from e_cal_comp.
+
2005-07-08 Kjartan Maraas <kmaraas@gnome.org>
* 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);