summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-02-06 15:12:32 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-02-06 15:12:32 +0000
commit9b94fea90d08e50b6c2b0544a4a7708087eff716 (patch)
tree2d5371158828b12baa22ec73923d144b2af2c79b /x11-misc/rednotebook/files
parentUse $(PYTHON -f) instead of ${python}. (diff)
downloadgentoo-2-9b94fea90d08e50b6c2b0544a4a7708087eff716.tar.gz
gentoo-2-9b94fea90d08e50b6c2b0544a4a7708087eff716.tar.bz2
gentoo-2-9b94fea90d08e50b6c2b0544a4a7708087eff716.zip
Version bump
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/rednotebook/files')
-rw-r--r--x11-misc/rednotebook/files/disable_webkit.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/x11-misc/rednotebook/files/disable_webkit.patch b/x11-misc/rednotebook/files/disable_webkit.patch
new file mode 100644
index 000000000000..a770b439c83c
--- /dev/null
+++ b/x11-misc/rednotebook/files/disable_webkit.patch
@@ -0,0 +1,27 @@
+Index: rednotebook-0.9.2/rednotebook/gui/browser.py
+===================================================================
+--- rednotebook-0.9.2.orig/rednotebook/gui/browser.py
++++ rednotebook-0.9.2/rednotebook/gui/browser.py
+@@ -28,6 +28,8 @@ import warnings
+ import gtk
+ import gobject
+
++webkit = None
++
+ # Testing
+ if __name__ == '__main__':
+ sys.path.insert(0, '../../')
+@@ -35,13 +37,6 @@ if __name__ == '__main__':
+ #gtk.gdk.threads_init() # only initializes threading in the glib/gobject module
+ gobject.threads_init() # also initializes the gdk threads
+
+-
+-try:
+- import webkit
+-except ImportError:
+- logging.info('Importing webkit failed')
+- webkit = None
+-
+ from rednotebook.util import filesystem
+
+