Special case reloading speed dial views

This commit is contained in:
Christian Dywan 2009-06-02 19:05:42 +02:00
parent 682ee94ad8
commit 28b9571444

View 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