[epiphany] ephy-web-view: remove more "invisible URI" logic
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-web-view: remove more "invisible URI" logic
- Date: Fri, 24 Aug 2012 15:01:47 +0000 (UTC)
commit b83dafd3b76238d2d2104364c8b188de3bd8e0a1
Author: Xan Lopez <xan igalia com>
Date: Fri Aug 24 17:00:48 2012 +0200
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 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 5dede1a..36637cc 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)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]