[evolution/evolution-3-12] EWebView - Increase minimum zoom level for zoom out



commit 2dbbb7c753a6d3bfc813ac9b85a42fc53e577377
Author: Milan Crha <mcrha redhat com>
Date:   Mon Dec 1 13:39:03 2014 +0100

    EWebView - Increase minimum zoom level for zoom out
    
    Newer WebKitGTK (like 2.2.8) breaks the view for a small zoom
    sooner than the older one.

 e-util/e-web-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-web-view.c b/e-util/e-web-view.c
index 33b9911..5545ebc 100644
--- a/e-util/e-web-view.c
+++ b/e-util/e-web-view.c
@@ -2470,7 +2470,7 @@ e_web_view_zoom_out (EWebView *web_view)
 {
        g_return_if_fail (E_IS_WEB_VIEW (web_view));
 
-       if (webkit_web_view_get_zoom_level (WEBKIT_WEB_VIEW (web_view)) > 0.1999)
+       if (webkit_web_view_get_zoom_level (WEBKIT_WEB_VIEW (web_view)) > 0.7999)
                webkit_web_view_zoom_out (WEBKIT_WEB_VIEW (web_view));
 }
 


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