[Xfce4-commits] <midori:master> Reset title when setting new URI
Christian Dywan
noreply at xfce.org
Thu Jun 28 22:04:01 CEST 2012
Updating branch refs/heads/master
to 8ddc7ac787bbcf3770872222b0206a18d8769c4a (commit)
from 611ca5b43d27add06c95f0e660383a5488d2a02e (commit)
commit 8ddc7ac787bbcf3770872222b0206a18d8769c4a
Author: Christian Dywan <christian at twotoasts.de>
Date: Thu Jun 28 22:00:54 2012 +0200
Reset title when setting new URI
Otherwise there's a race until committed.
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 00bd6ff..78074a6 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -4384,6 +4384,7 @@ midori_view_set_uri (MidoriView* view,
katze_assign (view->uri, midori_uri_format_for_display (uri));
if (g_strcmp0 (view->item->uri, view->uri))
katze_item_set_uri (view->item, view->uri);
+ katze_assign (view->title, NULL);
g_object_notify (G_OBJECT (view), "uri");
webkit_web_view_open (WEBKIT_WEB_VIEW (view->web_view), uri);
}
More information about the Xfce4-commits
mailing list