aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-08-24 23:00:48 +0800
committerXan Lopez <xan@igalia.com>2012-08-24 23:00:48 +0800
commitb83dafd3b76238d2d2104364c8b188de3bd8e0a1 (patch)
tree74c737cb96811233d06339fa754fc5aef5ac81c8 /embed
parent2d13b6f05db1f5982b790769001549254b2480f9 (diff)
downloadgsoc2013-epiphany-b83dafd3b76238d2d2104364c8b188de3bd8e0a1.tar.gz
gsoc2013-epiphany-b83dafd3b76238d2d2104364c8b188de3bd8e0a1.tar.zst
gsoc2013-epiphany-b83dafd3b76238d2d2104364c8b188de3bd8e0a1.zip
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.
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-web-view.c5
1 files changed, 1 insertions, 4 deletions
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)) {