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:
parent
e3fea6c2eb
commit
c8493b4c04
1 changed files with 2 additions and 0 deletions
|
@ -2006,6 +2006,8 @@ midori_view_set_uri (MidoriView* view,
|
||||||
|
|
||||||
g_return_if_fail (MIDORI_IS_VIEW (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 (!uri) uri = "";
|
||||||
|
|
||||||
if (1)
|
if (1)
|
||||||
|
|
Loading…
Reference in a new issue