aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-09-13 23:32:33 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-09-17 21:31:41 +0800
commit9d8795a0919ed771bf380630a4a034e0e6d37164 (patch)
tree596f18ec73883b0154ab67bb4db94f552216bf45 /embed
parentfcb0f328cfb8977dd5ba4a15dc1ed239af8267a2 (diff)
downloadgsoc2013-epiphany-9d8795a0919ed771bf380630a4a034e0e6d37164.tar
gsoc2013-epiphany-9d8795a0919ed771bf380630a4a034e0e6d37164.tar.gz
gsoc2013-epiphany-9d8795a0919ed771bf380630a4a034e0e6d37164.tar.bz2
gsoc2013-epiphany-9d8795a0919ed771bf380630a4a034e0e6d37164.tar.lz
gsoc2013-epiphany-9d8795a0919ed771bf380630a4a034e0e6d37164.tar.xz
gsoc2013-epiphany-9d8795a0919ed771bf380630a4a034e0e6d37164.tar.zst
gsoc2013-epiphany-9d8795a0919ed771bf380630a4a034e0e6d37164.zip
ephy-web-view: do not save history visits for no-show-addresses
We don't show these addresses in the location entry because they are very special to epiphany. There is no reason to store them in the history. https://bugzilla.gnome.org/show_bug.cgi?id=683796
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-web-view.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 82b85541f..a6215145b 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -2140,6 +2140,9 @@ load_changed_cb (WebKitWebView *web_view,
loading_uri = webkit_web_view_get_uri (web_view);
g_signal_emit_by_name (view, "new-document-now", loading_uri);
+ if (ephy_embed_utils_is_no_show_address (loading_uri))
+ ephy_web_view_freeze_history (view);
+
if (priv->address == NULL || priv->address[0] == '\0')
ephy_web_view_set_address (view, loading_uri);
@@ -2296,6 +2299,9 @@ load_status_cb (WebKitWebView *web_view,
g_signal_emit_by_name (view, "new-document-now", loading_uri);
+ if (ephy_embed_utils_is_no_show_address (loading_uri))
+ ephy_web_view_freeze_history (view);
+
if (priv->address == NULL || priv->address[0] == '\0')
ephy_web_view_set_address (view, loading_uri);