Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorNickolay 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)
commitc942b6d86230a5525b00206ca2a7acabe2e0b729 (patch)
treea7ca9662ae2667ba2b13f77da218e589385fc4db /shell
parent522e41330db87fb14cdda60fe016e6011cc8dacb (diff)
Clear status message when pointer leaves view. Fix for bug
#310818
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-view.c9
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;
}