diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-04-06 17:17:23 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-04-06 17:17:23 +0800 |
commit | 0ee60adcf709d2ff0cd21d844db46f2c8d53cc95 (patch) | |
tree | 523fbe19678bd931dc27bf63d7d491b0806e669a | |
parent | 86a444b92970ce0da4c67d8cf0e6deb686a92507 (diff) | |
download | gsoc2013-evolution-0ee60adcf709d2ff0cd21d844db46f2c8d53cc95.tar.gz gsoc2013-evolution-0ee60adcf709d2ff0cd21d844db46f2c8d53cc95.tar.zst gsoc2013-evolution-0ee60adcf709d2ff0cd21d844db46f2c8d53cc95.zip |
Fixes drag and drop of recurring appointments
svn path=/trunk/; revision=31778
-rw-r--r-- | calendar/gui/e-day-view.c | 6 |
1 files changed, 2 insertions, 4 deletions
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; |