From eb7b512e0375c159334f58f984b712654acdeff6 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Mon, 25 Mar 2013 23:41:15 +0100 Subject: ephy-web-view: restore zoom level on load started This seems to work much better, although it makes the zoom level be wrong when *leaving pages* in some cases. Still, an improvement, so let's do this for now. https://bugzilla.gnome.org/show_bug.cgi?id=693951 --- embed/ephy-web-view.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'embed') diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 8307a0617..ce0312ad1 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -1574,6 +1574,9 @@ load_changed_cb (WebKitWebView *web_view, priv->status_message = g_strdup (priv->loading_title); g_object_notify (object, "status-message"); + /* Zoom level. */ + restore_zoom_level (view, loading_uri); + break; } case WEBKIT_LOAD_REDIRECTED: @@ -1597,9 +1600,6 @@ load_changed_cb (WebKitWebView *web_view, ephy_web_view_set_security_level (EPHY_WEB_VIEW (web_view), security_level); - /* Zoom level. */ - restore_zoom_level (view, uri); - /* History. */ if (!ephy_web_view_is_history_frozen (view)) { char *history_uri = NULL; -- cgit v1.2.3