diff options
author | Xan Lopez <xan@igalia.com> | 2013-03-26 06:41:15 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2013-03-26 06:41:15 +0800 |
commit | eb7b512e0375c159334f58f984b712654acdeff6 (patch) | |
tree | 4a38f1a744ca21c4e025a300986127a541e04c7c /embed | |
parent | 944b0072761ba5d6338ac1044ae8280fd8b142bc (diff) | |
download | gsoc2013-epiphany-eb7b512e0375c159334f58f984b712654acdeff6.tar gsoc2013-epiphany-eb7b512e0375c159334f58f984b712654acdeff6.tar.gz gsoc2013-epiphany-eb7b512e0375c159334f58f984b712654acdeff6.tar.bz2 gsoc2013-epiphany-eb7b512e0375c159334f58f984b712654acdeff6.tar.lz gsoc2013-epiphany-eb7b512e0375c159334f58f984b712654acdeff6.tar.xz gsoc2013-epiphany-eb7b512e0375c159334f58f984b712654acdeff6.tar.zst gsoc2013-epiphany-eb7b512e0375c159334f58f984b712654acdeff6.zip |
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
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-web-view.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |