Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/browser.py
diff options
context:
space:
mode:
authorManuel Quiñones <manuq@laptop.org>2012-04-29 15:31:13 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2012-04-30 11:23:21 (GMT)
commit72cd73a6e0430ff5ed6f94a7cb4a55965b487177 (patch)
tree5d0f094ea1fc6ebec7cea6fc4460c8caef6d3d87 /browser.py
parent0aab5f8300aaa18666bab748f457ccf295f68f52 (diff)
Zoom full content, not just text SL #3541
This is the same behavior as in previous Browse and also the same behavior as in other Browsers (Epiphany, Firefox or Safari). Fixes bug: http://bugs.sugarlabs.org/ticket/3541 Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'browser.py')
-rw-r--r--browser.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/browser.py b/browser.py
index 259d888..d7a8734 100644
--- a/browser.py
+++ b/browser.py
@@ -483,6 +483,9 @@ class Browser(WebKit.WebView):
self.set_settings(web_settings)
+ # Scale text and graphics:
+ self.set_full_content_zoom(True)
+
# Reference to the global history and callbacks to handle it:
self._global_history = globalhistory.get_global_history()
self.connect('notify::load-status', self.__load_status_changed_cb)