aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2001-07-31 19:15:18 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2001-07-31 19:15:18 +0800
commit50d1ebd64aeec09a01ddc3e89185ac61a16e8702 (patch)
tree33482c6aa35233b8683bea69053d022da1726b0e /calendar/gui/e-day-view.c
parentd6f73cd6345e20806223ea48eee0393f429dde84 (diff)
downloadgsoc2013-evolution-50d1ebd64aeec09a01ddc3e89185ac61a16e8702.tar.gz
gsoc2013-evolution-50d1ebd64aeec09a01ddc3e89185ac61a16e8702.tar.zst
gsoc2013-evolution-50d1ebd64aeec09a01ddc3e89185ac61a16e8702.zip
don't set the end date for the pasted components, since it will be
2001-07-31 Rodrigo Moya <rodrigo@ximian.com> * 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
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c8
1 files changed, 0 insertions, 8 deletions
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);