summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2010-11-07 15:15:11 -0500
committerXan Lopez <xan@gnome.org>2010-11-07 15:16:35 -0500
commit3a46327008fa129b33805cc85faa6f8dd78d1f88 (patch)
tree98415b8fb2f00f7e40c41643a08295d6b9ed5703
parent25645b10da23df03b84989f2ff7e910f0c2069f6 (diff)
downloadepiphany-3a46327008fa129b33805cc85faa6f8dd78d1f88.tar.gz
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
-rw-r--r--embed/ephy-web-view.c7
1 files changed, 7 insertions, 0 deletions
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