diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-07-21 21:05:47 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-07-21 21:05:47 (GMT) |
commit | c942b6d86230a5525b00206ca2a7acabe2e0b729 (patch) | |
tree | a7ca9662ae2667ba2b13f77da218e589385fc4db /shell | |
parent | 522e41330db87fb14cdda60fe016e6011cc8dacb (diff) |
Clear status message when pointer leaves view. Fix for bug
#310818
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-view.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/shell/ev-view.c b/shell/ev-view.c index d2b1271..cf79ded 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -1493,7 +1493,14 @@ ev_view_button_release_event (GtkWidget *widget, static gboolean ev_view_leave_notify_event (GtkWidget *widget, GdkEventCrossing *event) { - ev_view_set_cursor (EV_VIEW (widget), EV_VIEW_CURSOR_NORMAL); + EvView *view = EV_VIEW (widget); + + ev_view_set_status (view, NULL); + + if (view->cursor == EV_VIEW_CURSOR_LINK || + view->cursor == EV_VIEW_CURSOR_IBEAM) + ev_view_set_cursor (view, EV_VIEW_CURSOR_NORMAL); + return FALSE; } |