diff options
author | Rodrigo Moya <rodrigo@novell.com> | 2004-12-23 20:41:41 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2004-12-23 20:41:41 +0800 |
commit | 67dee2832ef29749a2cf1db70e87c5dc469a6576 (patch) | |
tree | 70a0d2274890d84e3dfd93b4ef77c76f4e90a6d5 /calendar | |
parent | cd13211f3b7c8ec200313d25ded3b7aa972e4b95 (diff) | |
download | gsoc2013-evolution-67dee2832ef29749a2cf1db70e87c5dc469a6576.tar.gz gsoc2013-evolution-67dee2832ef29749a2cf1db70e87c5dc469a6576.tar.zst gsoc2013-evolution-67dee2832ef29749a2cf1db70e87c5dc469a6576.zip |
get instance times using the correct timezone. (redo_queries): emit
2004-12-23 Rodrigo Moya <rodrigo@novell.com>
* gui/e-cal-model.c (set_instance_times): get instance times using
the correct timezone.
(redo_queries): emit signals before clearing the array.
* gui/e-day-view.c (process_component):
* gui/e-week-view.c (process_component): no need to try to update,
always add.
svn path=/trunk/; revision=28193
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/gui/e-week-view.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index e552c009d8..64c2075cb9 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -330,45 +330,6 @@ process_component (EWeekView *week_view, ECalModelComponent *comp_data) else rid = NULL; -/* /\* If the event already exists and the dates didn't change, we can */ -/* update the event fairly easily without changing the events arrays */ -/* or computing a new layout. *\/ */ -/* if (e_week_view_find_event_from_uid (week_view, uid, rid, &event_num)) { */ -/* ECalComponent *tmp_comp; */ - -/* event = &g_array_index (week_view->events, EWeekViewEvent, event_num); */ - -/* tmp_comp = e_cal_component_new (); */ -/* e_cal_component_set_icalcomponent (tmp_comp, icalcomponent_new_clone (event->comp_data->icalcomp)); */ -/* if (!e_cal_component_has_recurrences (comp) */ -/* && !e_cal_component_has_recurrences (tmp_comp) */ -/* && e_cal_component_event_dates_match (comp, tmp_comp)) { */ -/* #if 0 */ -/* g_print ("updated object's dates unchanged\n"); */ -/* #endif */ -/* e_week_view_update_event_cb (week_view, event_num, comp_data); */ -/* g_object_unref (comp); */ -/* g_object_unref (tmp_comp); */ -/* gtk_widget_queue_draw (week_view->main_canvas); */ -/* return; */ -/* } */ - -/* /\* The dates have changed, so we need to remove the */ -/* old object before adding the new ones. *\/ */ -/* #if 0 */ -/* g_print ("dates changed - removing occurrences\n"); */ -/* #endif */ -/* e_week_view_remove_event_cb (week_view, event_num, NULL); */ - -/* g_object_unref (tmp_comp); */ -/* } else { */ -/* if (rid && e_week_view_find_event_from_uid (week_view, uid, NULL, &event_num)) { */ -/* event = &g_array_index (week_view->events, EWeekViewEvent, event_num); */ -/* if (!e_cal_util_component_is_instance (event->comp_data->icalcomp)) */ -/* e_week_view_remove_event_cb (week_view, event_num, NULL); */ -/* } */ -/* } */ - /* Add the object */ num_days = week_view->multi_week_view ? week_view->weeks_shown * 7 : 7; |