Treat "about:blank" and "" equally in midori_view_set_uri

This solves the problem of open speed dial tabs in the session
coming back as blank tabs after a restart of Midori.
This commit is contained in:
Christian Dywan 2009-05-17 00:01:52 +02:00
parent e3fea6c2eb
commit c8493b4c04

View file

@ -2006,6 +2006,8 @@ midori_view_set_uri (MidoriView* view,
g_return_if_fail (MIDORI_IS_VIEW (view));
/* Treat "about:blank" and "" equally, see midori_view_is_blank(). */
if (!g_strcmp0 (uri, "about:blank")) uri = "";
if (!uri) uri = "";
if (1)