summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2013-05-20 18:30:33 +0300
committerClaudio Saavedra <csaavedra@igalia.com>2013-05-20 18:53:18 +0300
commitac8d8643536237e50d7e058ed1fef2c33ef77842 (patch)
treed11da9a51f87518edcadcce8dd164c64ec949fbb
parent396836cf52938473ecbb11588cd27850df2eda7f (diff)
downloadepiphany-ac8d8643536237e50d7e058ed1fef2c33ef77842.tar.gz
ephy-web-view: thaw history when load is finished
Otherwise we end up creating snapshots for error pages.
-rw-r--r--embed/ephy-web-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index db5acdf66..22fc8fd38 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -2171,8 +2171,6 @@ load_changed_cb (WebKitWebView *web_view,
g_free (history_uri);
}
- ephy_web_view_thaw_history (view);
-
break;
}
case WEBKIT_LOAD_FINISHED:
@@ -2196,6 +2194,8 @@ load_changed_cb (WebKitWebView *web_view,
priv->snapshot_idle_id = g_idle_add_full (G_PRIORITY_LOW, (GSourceFunc)web_view_check_snapshot, web_view, NULL);
}
+ ephy_web_view_thaw_history (view);
+
break;
}