aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-view.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-01-15 22:48:21 +0800
committerMilan Crha <mcrha@src.gnome.org>2009-01-15 22:48:21 +0800
commit9a69a192221d827f263e6972b9f07031b62676ef (patch)
tree0735d643e2bef20cb7f1f8f488ec33f1359899a0 /calendar/gui/e-calendar-view.c
parent8772855cc43886feadea096de92fc378330a14b4 (diff)
downloadgsoc2013-evolution-9a69a192221d827f263e6972b9f07031b62676ef.tar
gsoc2013-evolution-9a69a192221d827f263e6972b9f07031b62676ef.tar.gz
gsoc2013-evolution-9a69a192221d827f263e6972b9f07031b62676ef.tar.bz2
gsoc2013-evolution-9a69a192221d827f263e6972b9f07031b62676ef.tar.lz
gsoc2013-evolution-9a69a192221d827f263e6972b9f07031b62676ef.tar.xz
gsoc2013-evolution-9a69a192221d827f263e6972b9f07031b62676ef.tar.zst
gsoc2013-evolution-9a69a192221d827f263e6972b9f07031b62676ef.zip
** Fix for bug #245156
2009-01-15 Milan Crha <mcrha@redhat.com> ** Fix for bug #245156 * gui/e-day-view.c: (e_day_view_finish_long_event_resize), (e_day_view_finish_resize), (e_day_view_change_event_time), (e_day_view_on_top_canvas_drag_data_received), (e_day_view_on_main_canvas_drag_data_received): * gui/e-week-view.c: (e_week_view_change_event_time): * gui/e-calendar-view.c: (on_unrecur_appointment): Keep old timezone for dtstart/dtend when changing it. * gui/comp-util.h: (cal_comp_set_dtstart_with_oldzone), (cal_comp_set_dtend_with_oldzone): * gui/comp-util.c: (cal_comp_set_dtstart_with_oldzone), (cal_comp_set_dtend_with_oldzone), (datetime_to_zone): Helper functions to make it easier. svn path=/trunk/; revision=37079
Diffstat (limited to 'calendar/gui/e-calendar-view.c')
-rw-r--r--calendar/gui/e-calendar-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index 0dc5a7eab3..2967a84389 100644
--- a/calendar/gui/e-calendar-view.c
+++ b/calendar/gui/e-calendar-view.c
@@ -1663,10 +1663,10 @@ on_unrecur_appointment (EPopup *ep, EPopupItem *pitem, void *data)
*date.value = icaltime_from_timet_with_zone (event->comp_data->instance_start, FALSE,
e_calendar_view_get_timezone (cal_view));
- e_cal_component_set_dtstart (new_comp, &date);
+ cal_comp_set_dtstart_with_oldzone (client, new_comp, &date);
*date.value = icaltime_from_timet_with_zone (event->comp_data->instance_end, FALSE,
e_calendar_view_get_timezone (cal_view));
- e_cal_component_set_dtend (new_comp, &date);
+ cal_comp_set_dtend_with_oldzone (client, new_comp, &date);
e_cal_component_commit_sequence (new_comp);
/* Now update both ECalComponents. Note that we do this last since at