Reset title when setting new URI

Otherwise there's a race until committed.
This commit is contained in:
Christian Dywan 2012-06-28 22:00:54 +02:00
parent 611ca5b43d
commit 8ddc7ac787
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}