From c8493b4c04f632dbbaa6e520725fe17e94cf71f0 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 17 May 2009 00:01:52 +0200 Subject: [PATCH] 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. --- midori/midori-view.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/midori/midori-view.c b/midori/midori-view.c index 79cd2eb7..2e5466a3 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -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) -- 2.39.5