[epiphany: 14/14] ephy-web-view: also reset page visit type on load failed
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany: 14/14] ephy-web-view: also reset page visit type on load failed
- Date: Wed, 14 Mar 2012 12:03:17 +0000 (UTC)
commit 116a7b1027be4bd1606331cca81f7d7475b45d98
Author: Xan Lopez <xan igalia com>
Date: Wed Mar 14 12:52:51 2012 +0100
ephy-web-view: also reset page visit type on load failed
embed/ephy-web-view.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index f5e2d8a..f524997 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]