aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2013-05-20 23:30:33 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2013-05-20 23:30:33 +0800
commit92a0c59e302f75d46160a1f00bebdd48ebaa5372 (patch)
tree9689d9eb445488dfcd822e7ae68d3e60d131d852
parent26621c7d9a8fbdb854857d08e0a0970169f0bb95 (diff)
downloadgsoc2013-epiphany-92a0c59e302f75d46160a1f00bebdd48ebaa5372.tar
gsoc2013-epiphany-92a0c59e302f75d46160a1f00bebdd48ebaa5372.tar.gz
gsoc2013-epiphany-92a0c59e302f75d46160a1f00bebdd48ebaa5372.tar.bz2
gsoc2013-epiphany-92a0c59e302f75d46160a1f00bebdd48ebaa5372.tar.lz
gsoc2013-epiphany-92a0c59e302f75d46160a1f00bebdd48ebaa5372.tar.xz
gsoc2013-epiphany-92a0c59e302f75d46160a1f00bebdd48ebaa5372.tar.zst
gsoc2013-epiphany-92a0c59e302f75d46160a1f00bebdd48ebaa5372.zip
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 92cdb3896..30df94636 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -1621,8 +1621,6 @@ load_changed_cb (WebKitWebView *web_view,
g_free (history_uri);
}
- ephy_web_view_thaw_history (view);
-
break;
}
case WEBKIT_LOAD_FINISHED:
@@ -1646,6 +1644,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;
}