From 0ee60adcf709d2ff0cd21d844db46f2c8d53cc95 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Thu, 6 Apr 2006 09:17:23 +0000 Subject: Fixes drag and drop of recurring appointments svn path=/trunk/; revision=31778 --- calendar/gui/e-day-view.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index a827de2a47..34fa4c2ad3 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -3607,8 +3607,7 @@ e_day_view_on_main_canvas_motion (GtkWidget *widget, event = &g_array_index (day_view->events[day_view->pressed_event_day], EDayViewEvent, day_view->pressed_event_num); - if (!e_cal_util_component_has_recurrences (event->comp_data->icalcomp) - && (abs (canvas_x - day_view->drag_event_x) + if ((abs (canvas_x - day_view->drag_event_x) > E_DAY_VIEW_DRAG_START_OFFSET || abs (canvas_y - day_view->drag_event_y) > E_DAY_VIEW_DRAG_START_OFFSET)) { @@ -3634,8 +3633,7 @@ e_day_view_on_main_canvas_motion (GtkWidget *widget, } else { cursor = day_view->normal_cursor; - /* Recurring events can't be resized. */ - if (event && !e_cal_util_component_has_recurrences (event->comp_data->icalcomp)) { + if (event) { switch (pos) { case E_CALENDAR_VIEW_POS_LEFT_EDGE: cursor = day_view->move_cursor; -- cgit