From 3a46327008fa129b33805cc85faa6f8dd78d1f88 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sun, 7 Nov 2010 15:15:11 -0500 Subject: 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 file changed, 7 insertions(+) (limited to 'embed') diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 4d84dc003..e1d25e237 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 -- cgit v1.2.3