aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-web-view.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-03-14 19:52:51 +0800
committerXan Lopez <xan@igalia.com>2012-03-14 19:52:51 +0800
commit116a7b1027be4bd1606331cca81f7d7475b45d98 (patch)
tree4b347fdd5d3dff54fe944207fc20651d443fd849 /embed/ephy-web-view.c
parentfa2b55c65df0aeece42706e27026c08666601300 (diff)
downloadgsoc2013-epiphany-116a7b1027be4bd1606331cca81f7d7475b45d98.tar.gz
gsoc2013-epiphany-116a7b1027be4bd1606331cca81f7d7475b45d98.tar.zst
gsoc2013-epiphany-116a7b1027be4bd1606331cca81f7d7475b45d98.zip
ephy-web-view: also reset page visit type on load failed
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r--embed/ephy-web-view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index f5e2d8ad7..f5249976c 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -2045,6 +2045,9 @@ load_status_cb (WebKitWebView *web_view,
g_object_notify (object, "status-message");
update_navigation_flags (view);
+
+ /* Reset visit type. */
+ priv->visit_type = EPHY_PAGE_VISIT_NONE;
break;
default:
break;