The speed dial is now mandatory, but it's still possible to get
a blank tab. With an empty home page and a displayed speed dial
on a new tab, going to any page and coming back leads to a blank page.
Work around that by checking whether the view is empty and setting the
uri to an empty string in this case, to hit the code path which makes
the speed dial kick in.
g_return_if_fail (MIDORI_IS_VIEW (view));
webkit_web_view_go_back (WEBKIT_WEB_VIEW (view->web_view));
+ /* Force the speed dial to kick in if going back to a blank page */
+ if (midori_view_is_blank (view))
+ midori_view_set_uri (view, "");
}
/**