[Sugar-devel] [PATCH Help] Zoom full content SL #3541

Manuel Kaufmann humitos at gmail.com
Mon May 21 09:52:24 EDT 2012


Zoom full content (including images) when zoom in or zoom out.

Signed-off-by: Manuel Kaufmann <humitos at gmail.com>
---
 helpactivity.py |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/helpactivity.py b/helpactivity.py
index 85ca801..378163b 100755
--- a/helpactivity.py
+++ b/helpactivity.py
@@ -39,6 +39,8 @@ class HelpActivity(activity.Activity):
         self.props.max_participants = 1
 
         self._web_view = WebKit.WebView()
+        self._web_view.set_full_content_zoom(True)
+
         _scrolled_window = Gtk.ScrolledWindow()
         _scrolled_window.add(self._web_view)
         _scrolled_window.show()
-- 
1.7.10



More information about the Sugar-devel mailing list