From b83dafd3b76238d2d2104364c8b188de3bd8e0a1 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Fri, 24 Aug 2012 17:00:48 +0200 Subject: ephy-web-view: remove more "invisible URI" logic EphyWindow takes care of this now, so don't change the EphyWebView address to NULL when we load about:blank. --- embed/ephy-web-view.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'embed') diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 5dede1aee..36637cc47 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -2044,10 +2044,7 @@ ephy_web_view_location_changed (EphyWebView *view, /* Do this up here so we still have the old address around. */ ephy_file_monitor_update_location (priv->file_monitor, location); - /* Do not expose about:blank to the user, an empty address - bar will do better */ - if (location == NULL || location[0] == '\0' || - strcmp (location, "about:blank") == 0) { + if (location == NULL || location[0] == '\0') { ephy_web_view_set_address (view, NULL); ephy_web_view_set_title (view, EMPTY_PAGE); } else if (g_str_has_prefix (location, EPHY_ABOUT_SCHEME)) { -- cgit v1.2.3