Updating branch refs/heads/master to d5ed3e9b287714a90ac087e0e6872a94adf04999 (commit) from ba1084d2360ad9829a8cdbc65eb21db4dd61a448 (commit)
commit d5ed3e9b287714a90ac087e0e6872a94adf04999 Author: Christian Dywan <christ...@twotoasts.de> Date: Tue Sep 22 23:58:16 2009 +0200 Reset the statusbar text (in the location) when leaving the view midori/midori-view.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/midori/midori-view.c b/midori/midori-view.c index 714e1ab..d884af9 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -973,6 +973,15 @@ webkit_web_view_statusbar_text_changed_cb (WebKitWebView* web_view, g_object_set (G_OBJECT (view), "statusbar-text", text, NULL); } +static gboolean +midori_view_web_view_leave_notify_event_cb (WebKitWebView* web_view, + GdkEventCrossing* event, + MidoriView* view) +{ + g_object_set (G_OBJECT (view), "statusbar-text", NULL, NULL); + return FALSE; +} + static void webkit_web_view_hovering_over_link_cb (WebKitWebView* web_view, const gchar* tooltip, @@ -2458,6 +2467,8 @@ midori_view_construct_web_view (MidoriView* view) #endif "signal::status-bar-text-changed", webkit_web_view_statusbar_text_changed_cb, view, + "signal::leave-notify-event", + midori_view_web_view_leave_notify_event_cb, view, "signal::hovering-over-link", webkit_web_view_hovering_over_link_cb, view, "signal::button-press-event", _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits