]> spindle.queued.net Git - midori/commitdiff
Special case reloading speed dial views
authorChristian Dywan <christian@twotoasts.de>
Tue, 2 Jun 2009 17:05:42 +0000 (19:05 +0200)
committerChristian Dywan <christian@twotoasts.de>
Tue, 2 Jun 2009 17:05:42 +0000 (19:05 +0200)
midori/midori-view.c

index be3a9a091ae414be65cccbecf975f95312d8075a..bc45f7b664f3ac343c3ba95884218d3bfc257f48 100644 (file)
@@ -2811,6 +2811,8 @@ midori_view_reload (MidoriView* view,
 #endif
     if (view->title && strstr (title, view->title))
         webkit_web_view_open (WEBKIT_WEB_VIEW (view->web_view), view->uri);
+    else if (midori_view_is_blank (view))
+        midori_view_set_uri (view, view->uri);
     else if (from_cache)
         webkit_web_view_reload (WEBKIT_WEB_VIEW (view->web_view));
     else