aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-08-24 21:58:15 +0800
committerXan Lopez <xan@igalia.com>2012-08-24 21:58:15 +0800
commit2d13b6f05db1f5982b790769001549254b2480f9 (patch)
tree8ed00da26ed1f61ea74841003b61fa1fc284d7e8 /lib
parent0a97a46d1b273810c1fa46b4d573594d399f4ab4 (diff)
downloadgsoc2013-epiphany-2d13b6f05db1f5982b790769001549254b2480f9.tar
gsoc2013-epiphany-2d13b6f05db1f5982b790769001549254b2480f9.tar.gz
gsoc2013-epiphany-2d13b6f05db1f5982b790769001549254b2480f9.tar.bz2
gsoc2013-epiphany-2d13b6f05db1f5982b790769001549254b2480f9.tar.lz
gsoc2013-epiphany-2d13b6f05db1f5982b790769001549254b2480f9.tar.xz
gsoc2013-epiphany-2d13b6f05db1f5982b790769001549254b2480f9.tar.zst
gsoc2013-epiphany-2d13b6f05db1f5982b790769001549254b2480f9.zip
ephy-window: centralize the logic about invisible URIs in one place
Let's make EphyWindow the one in charge of deciding whether a URI is actually shown or not in the location entry. This allows to remove some code to that effect in EphyLocationController (and perhaps some more in EphyWebView in the future), and makes this feature more extensible for the future.
Diffstat (limited to 'lib')
-rw-r--r--lib/widgets/ephy-location-entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index a812845fa..34e8e48b8 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -1305,7 +1305,7 @@ ephy_location_entry_set_location (EphyLocationEntry *entry,
}
}
- if (address != NULL && strcmp (address, "about:blank") != 0)
+ if (address != NULL)
{
if (g_str_has_prefix (address, EPHY_ABOUT_SCHEME))
effective_text = g_strdup_printf ("about:%s",