conduit r1638 - in trunk: . conduit/platform
- From: jstowers svn gnome org
- To: svn-commits-list gnome org
- Subject: conduit r1638 - in trunk: . conduit/platform
- Date: Sun, 3 Aug 2008 10:48:30 +0000 (UTC)
Author: jstowers
Date: Sun Aug 3 10:48:30 2008
New Revision: 1638
URL: http://svn.gnome.org/viewvc/conduit?rev=1638&view=rev
Log:
* conduit/platform/WebBrowserWebkit.py: Put the browser in a scrolled
window.
Modified:
trunk/ (props changed)
trunk/ChangeLog
trunk/conduit/platform/WebBrowserWebkit.py
Modified: trunk/conduit/platform/WebBrowserWebkit.py
==============================================================================
--- trunk/conduit/platform/WebBrowserWebkit.py (original)
+++ trunk/conduit/platform/WebBrowserWebkit.py Sun Aug 3 10:48:30 2008
@@ -1,13 +1,17 @@
+import gtk
import webkit
import conduit.platform
class WebBrowserImpl(conduit.platform.WebBrowser):
def __init__(self):
conduit.platform.WebBrowser.__init__(self)
+ self.sw = gtk.ScrolledWindow()
+ self.sw.set_policy(gtk.POLICY_AUTOMATIC,gtk.POLICY_AUTOMATIC)
self.webView = webkit.WebView()
+ self.sw.add(self.webView)
def widget(self):
- return self.webView
+ return self.sw
def load_url(self,url):
self.webView.open(url)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]