[Xfce4-commits] <midori:master> Remove erroneous title check in set_uri

Christian Dywan noreply at xfce.org
Fri Jun 17 11:28:01 CEST 2011


Updating branch refs/heads/master
         to 783bed774a49483a0c305ae873665126414de13c (commit)
       from b8e5b7760918a0ec51a8c11e4e16e30ec99176aa (commit)

commit 783bed774a49483a0c305ae873665126414de13c
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Jun 17 11:13:41 2011 +0200

    Remove erroneous title check in set_uri
    
    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 |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/midori/midori-view.c b/midori/midori-view.c
index ad391ed..b2307e8 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -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);



More information about the Xfce4-commits mailing list