From 550513c30a2191f88c5c39c37659027abc2927e6 Mon Sep 17 00:00:00 2001 From: Peter Harvey Date: Sat, 21 Jan 2006 23:54:23 +0000 Subject: src/ephy-window.c 2006-01-22 Peter Harvey * src/ephy-window.c Fixed the mouse cursor entry/exit code for the toolbar. I have a suspicion that a bug may have been fixed in Gtk+ because this solution was tried before. Bug #326817. --- ChangeLog | 8 ++++++++ src/ephy-window.c | 6 ++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 40c79a268..f0ea061c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2006-01-22 Peter Harvey + + * src/ephy-window.c + + Fixed the mouse cursor entry/exit code for the toolbar. I have + a suspicion that a bug may have been fixed in Gtk+ because this + solution was tried before. Bug #326817. + 2006-01-21 Crispin Flowerday * src/epiphany.defs: diff --git a/src/ephy-window.c b/src/ephy-window.c index d891c078e..64b17bb3f 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -1093,8 +1093,7 @@ tool_item_enter_cb (GtkWidget *proxy, GdkEventCrossing *event, EphyWindow *window) { - if (event->mode == GDK_CROSSING_NORMAL && - event->detail == GDK_NOTIFY_NONLINEAR) + if (event->mode == GDK_CROSSING_NORMAL) { GtkToolItem *item; GtkAction *action; @@ -1122,8 +1121,7 @@ tool_item_leave_cb (GtkWidget *proxy, GdkEventCrossing *event, EphyWindow *window) { - if (event->mode == GDK_CROSSING_NORMAL && - event->detail == GDK_NOTIFY_NONLINEAR) + if (event->mode == GDK_CROSSING_NORMAL) { gtk_statusbar_pop (GTK_STATUSBAR (window->priv->statusbar), window->priv->help_message_cid); -- cgit v1.2.3