From: Christian Dywan Date: Thu, 28 Jun 2012 20:00:54 +0000 (+0200) Subject: Reset title when setting new URI X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ddc7ac787bbcf3770872222b0206a18d8769c4a;p=midori Reset title when setting new URI Otherwise there's a race until committed. --- diff --git a/midori/midori-view.c b/midori/midori-view.c index 00bd6ffe..78074a60 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); }