From 50d1ebd64aeec09a01ddc3e89185ac61a16e8702 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Tue, 31 Jul 2001 11:15:18 +0000 Subject: don't set the end date for the pasted components, since it will be 2001-07-31 Rodrigo Moya * gui/e-day-view.c (selection_received): * gui/e-week-view.c (selection_received): don't set the end date for the pasted components, since it will be recalculated when the start date is set, thus keeping the same duration than the original cut/copied component. Fixes #5836 svn path=/trunk/; revision=11509 --- calendar/gui/e-day-view.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'calendar/gui/e-day-view.c') diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index ca12b87176..4da82c61a5 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -6722,10 +6722,6 @@ selection_received (GtkWidget *invisible, /* FIXME: Need to set TZID. */ icalcomponent_set_dtstart (icalcomp, itime); - itime = icaltime_from_timet_with_zone (dtend, FALSE, day_view->zone); - /* FIXME: Need to set TZID. */ - icalcomponent_set_dtend (icalcomp, itime); - uid = cal_component_gen_uid (); tmp_comp = cal_component_new (); cal_component_set_icalcomponent ( @@ -6755,10 +6751,6 @@ selection_received (GtkWidget *invisible, /* FIXME: Need to set TZID. */ icalcomponent_set_dtstart (icalcomp, itime); - itime = icaltime_from_timet_with_zone (dtend, FALSE, day_view->zone); - /* FIXME: Need to set TZID. */ - icalcomponent_set_dtend (icalcomp, itime); - comp = cal_component_new (); cal_component_set_icalcomponent (comp, icalcomp); -- cgit v1.2.3