aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2010-11-08 04:15:11 +0800
committerXan Lopez <xan@gnome.org>2010-11-08 04:16:35 +0800
commit3a46327008fa129b33805cc85faa6f8dd78d1f88 (patch)
tree98415b8fb2f00f7e40c41643a08295d6b9ed5703 /embed
parent25645b10da23df03b84989f2ff7e910f0c2069f6 (diff)
downloadgsoc2013-epiphany-3a46327008fa129b33805cc85faa6f8dd78d1f88.tar
gsoc2013-epiphany-3a46327008fa129b33805cc85faa6f8dd78d1f88.tar.gz
gsoc2013-epiphany-3a46327008fa129b33805cc85faa6f8dd78d1f88.tar.bz2
gsoc2013-epiphany-3a46327008fa129b33805cc85faa6f8dd78d1f88.tar.lz
gsoc2013-epiphany-3a46327008fa129b33805cc85faa6f8dd78d1f88.tar.xz
gsoc2013-epiphany-3a46327008fa129b33805cc85faa6f8dd78d1f88.tar.zst
gsoc2013-epiphany-3a46327008fa129b33805cc85faa6f8dd78d1f88.zip
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
Diffstat (limited to 'embed')
-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