Permalink
Browse files

Disable plugins (i.e. Flash) which was causing segfaults

  • Loading branch information...
nzjrs committed Jan 22, 2009
1 parent 854819f commit 4552e7cbe777af155396cb09d932352596e09dff
Showing with 4 additions and 0 deletions.
  1. +4 −0 facebook-notify.py
View
@@ -32,6 +32,10 @@ def __init__(self):
gtk.Window.__init__(self)
self._sw = gtk.ScrolledWindow()
self._bv = webkit.WebView()
+
+ #disable flash to stop segfault on destroy
+ self._bv.get_settings().props.enable_plugins = False
+
self._sw.add(self._bv)
self.add(self._sw)

0 comments on commit 4552e7c

Please sign in to comment.