[epiphany] ephy-web-view: thaw history when load is finished
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-web-view: thaw history when load is finished
- Date: Mon, 20 May 2013 15:53:04 +0000 (UTC)
commit 92a0c59e302f75d46160a1f00bebdd48ebaa5372
Author: Claudio Saavedra <csaavedra igalia com>
Date: Mon May 20 18:30:33 2013 +0300
ephy-web-view: thaw history when load is finished
Otherwise we end up creating snapshots for error pages.
embed/ephy-web-view.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 92cdb38..30df946 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]