[Sugar-devel] [PATCH Browse] Zoom full content, not just text SL #3541

Manuel Quiñones manuq at laptop.org
Sun Apr 29 11:36:48 EDT 2012


As previous Browse.  Is also the default in common browsers.

Fixes bug: http://bugs.sugarlabs.org/ticket/3541

Signed-off-by: Manuel Quiñones <manuq at laptop.org>
---
 browser.py |    3 +++
 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)
-- 
1.7.7.6



More information about the Sugar-devel mailing list