[Xfce4-commits] <midori:master> Reset alert counter when loading a new page
Christian Dywan
noreply at xfce.org
Wed Apr 13 23:58:03 CEST 2011
Updating branch refs/heads/master
to 4a8b55400b0395bf6f89b7c2318ec926b69dc1ee (commit)
from 28e269365d3fb8acc483504b575886335d2144ea (commit)
commit 4a8b55400b0395bf6f89b7c2318ec926b69dc1ee
Author: Christian Dywan <christian at twotoasts.de>
Date: Wed Apr 13 23:56:00 2011 +0200
Reset alert counter when loading a new page
All infobars including alerts are destroyed, so we can assume
no alerts are visible.
midori/midori-view.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/midori/midori-view.c b/midori/midori-view.c
index d26e3cd..5f86a18 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -1036,6 +1036,7 @@ webkit_web_view_load_committed_cb (WebKitWebView* web_view,
for (; children; children = g_list_next (children))
if (g_object_get_data (G_OBJECT (children->data), "midori-infobar-cb"))
gtk_widget_destroy (children->data);
+ view->alerts = 0;
if (g_strcmp0 (uri, katze_item_get_uri (view->item)))
{
More information about the Xfce4-commits
mailing list