[epiphany/gnome-3-8] ephy-web-view: thaw history when load is finished



commit ac8d8643536237e50d7e058ed1fef2c33ef77842
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 db5acdf..22fc8fd 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;
   }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]