]> spindle.queued.net Git - midori/commitdiff
Remove erroneous title check in set_uri
authorChristian Dywan <christian@twotoasts.de>
Fri, 17 Jun 2011 09:13:41 +0000 (11:13 +0200)
committerChristian Dywan <christian@twotoasts.de>
Fri, 17 Jun 2011 09:13:41 +0000 (11:13 +0200)
The condition was written this way due to the now gone legacy
workaround, the title shouldn't be checked at all.

midori/midori-view.c

index ad391ed6b0a29bf11a3374aa7f422d0c9ffc5218..b2307e8a72765a014c1919ce8f78f42103363cd4 100644 (file)
@@ -4744,9 +4744,7 @@ midori_view_reload (MidoriView* view,
 {
     g_return_if_fail (MIDORI_IS_VIEW (view));
 
-    if (view->title)
-        webkit_web_view_open (WEBKIT_WEB_VIEW (view->web_view), view->uri);
-    else if (!(view->uri && *view->uri && strncmp (view->uri, "about:", 6)))
+    if (!(view->uri && *view->uri && strncmp (view->uri, "about:", 6)))
     {
         gchar* uri = g_strdup (view->uri);
         midori_view_set_uri (view, uri);