[epiphany] ephy-web-view: use full content zoom by default



commit 3a46327008fa129b33805cc85faa6f8dd78d1f88
Author: Xan Lopez <xan gnome org>
Date:   Sun Nov 7 15:15:11 2010 -0500

    ephy-web-view: use full content zoom by default
    
    As a FIXME we could support both (at the same time) somewhat easily,
    we just need to add the needed APIs in WebKitGTK+.
    
    Bug #615362

 embed/ephy-web-view.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 4d84dc0..e1d25e2 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -1136,6 +1136,13 @@ ephy_web_view_constructed (GObject *object)
                     "signal::notify::uri", G_CALLBACK (uri_changed_cb), NULL,
                     "signal::hovering-over-link", G_CALLBACK (hovering_over_link_cb), NULL,
                     NULL);
+
+  /* Use full content zooming by default */
+  /* FIXME: we could make this configurable through GSettings, or have
+   * different keys for text and full content zooming. AFAIK you can
+   * have both enabled at the same time in WebKit now (although our
+   * API does not reflect this atm). See r67274 in WebKit. */
+  webkit_web_view_set_full_content_zoom (WEBKIT_WEB_VIEW (object), TRUE);
 }
 
 static void



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