Reset title when setting new URI
Otherwise there's a race until committed.
This commit is contained in:
parent
611ca5b43d
commit
8ddc7ac787
1 changed files with 1 additions and 0 deletions
|
@ -4384,6 +4384,7 @@ midori_view_set_uri (MidoriView* view,
|
||||||
katze_assign (view->uri, midori_uri_format_for_display (uri));
|
katze_assign (view->uri, midori_uri_format_for_display (uri));
|
||||||
if (g_strcmp0 (view->item->uri, view->uri))
|
if (g_strcmp0 (view->item->uri, view->uri))
|
||||||
katze_item_set_uri (view->item, view->uri);
|
katze_item_set_uri (view->item, view->uri);
|
||||||
|
katze_assign (view->title, NULL);
|
||||||
g_object_notify (G_OBJECT (view), "uri");
|
g_object_notify (G_OBJECT (view), "uri");
|
||||||
webkit_web_view_open (WEBKIT_WEB_VIEW (view->web_view), uri);
|
webkit_web_view_open (WEBKIT_WEB_VIEW (view->web_view), uri);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue