diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2007-12-05 18:51:08 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2007-12-05 18:51:08 (GMT) |
commit | 1722ad86016b2980f6caba4849cbab69356e2661 (patch) | |
tree | d3c5bb55a5f7e5fb5a1d47ff2365f6f9c532a23c /shell | |
parent | 133c3527888180e7cb50fa915215668da629e987 (diff) |
Restore cursor to normal after a drag operation. Fixes bug #501603.
2007-12-05 Carlos Garcia Campos <carlosgc@gnome.org>
* 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
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-view.c | 6 |
1 files changed, 4 insertions, 2 deletions
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); } } |