From 1722ad86016b2980f6caba4849cbab69356e2661 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Wed, 05 Dec 2007 18:51:08 +0000 Subject: Restore cursor to normal after a drag operation. Fixes bug #501603. 2007-12-05 Carlos Garcia Campos * shell/ev-view.c: (ev_view_handle_cursor_over_xy): Restore cursor to normal after a drag operation. Fixes bug #501603. svn path=/trunk/; revision=2763 --- diff --git a/ChangeLog b/ChangeLog index 99a0991..016a659 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-12-05 Carlos Garcia Campos + + * shell/ev-view.c: (ev_view_handle_cursor_over_xy): + + Restore cursor to normal after a drag operation. Fixes bug + #501603. + 2007-12-04 Nickolay V. Shmyrev * NEWS: diff --git a/shell/ev-view.c b/shell/ev-view.c index ed55a11..b1ec056 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -1537,7 +1537,8 @@ ev_view_handle_cursor_over_xy (EvView *view, gint x, gint y) } else if ((field = ev_view_get_form_field_at_location (view, x, y))) { if (field->is_read_only) { if (view->cursor == EV_VIEW_CURSOR_LINK || - view->cursor == EV_VIEW_CURSOR_IBEAM) + view->cursor == EV_VIEW_CURSOR_IBEAM || + view->cursor == EV_VIEW_CURSOR_DRAG) ev_view_set_cursor (view, EV_VIEW_CURSOR_NORMAL); } else if (EV_IS_FORM_FIELD_TEXT (field)) { ev_view_set_cursor (view, EV_VIEW_CURSOR_IBEAM); @@ -1548,7 +1549,8 @@ ev_view_handle_cursor_over_xy (EvView *view, gint x, gint y) ev_view_set_cursor (view, EV_VIEW_CURSOR_IBEAM); } else { if (view->cursor == EV_VIEW_CURSOR_LINK || - view->cursor == EV_VIEW_CURSOR_IBEAM) + view->cursor == EV_VIEW_CURSOR_IBEAM || + view->cursor == EV_VIEW_CURSOR_DRAG) ev_view_set_cursor (view, EV_VIEW_CURSOR_NORMAL); } } -- cgit v0.9.1