aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-04-24 23:12:33 +0800
committerMilan Crha <mcrha@redhat.com>2012-04-24 23:12:33 +0800
commit031c2b6b55d4cbfb9d393f68bc53ccd15d64e8d5 (patch)
treeba0eb637df1f0bb3cf0d42180e2c994b75200199 /calendar
parent80ee0ba6227dea6d7638d39cbb2aacefba683d85 (diff)
downloadgsoc2013-evolution-031c2b6b55d4cbfb9d393f68bc53ccd15d64e8d5.tar
gsoc2013-evolution-031c2b6b55d4cbfb9d393f68bc53ccd15d64e8d5.tar.gz
gsoc2013-evolution-031c2b6b55d4cbfb9d393f68bc53ccd15d64e8d5.tar.bz2
gsoc2013-evolution-031c2b6b55d4cbfb9d393f68bc53ccd15d64e8d5.tar.lz
gsoc2013-evolution-031c2b6b55d4cbfb9d393f68bc53ccd15d64e8d5.tar.xz
gsoc2013-evolution-031c2b6b55d4cbfb9d393f68bc53ccd15d64e8d5.tar.zst
gsoc2013-evolution-031c2b6b55d4cbfb9d393f68bc53ccd15d64e8d5.zip
Bug #668768 - Copy&paste of appointment occurrence creates two appointments
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/e-calendar-view.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index 24ea98a8f7..736bda3d4c 100644
--- a/calendar/gui/e-calendar-view.c
+++ b/calendar/gui/e-calendar-view.c
@@ -580,14 +580,7 @@ calendar_view_copy_clipboard (ESelectable *selectable)
new_icalcomp = icalcomponent_new_clone (event->comp_data->icalcomp);
- /* remove RECURRENCE-IDs from copied objects */
- if (e_cal_util_component_is_instance (new_icalcomp)) {
- icalproperty *prop;
-
- prop = icalcomponent_get_first_property (new_icalcomp, ICAL_RECURRENCEID_PROPERTY);
- if (prop)
- icalcomponent_remove_property (new_icalcomp, prop);
- }
+ /* do not remove RECURRENCE-IDs from copied objects */
icalcomponent_add_component (vcal_comp, new_icalcomp);
}