Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/rednotebook/files: disable_webkit.patch
Date: Sat, 06 Feb 2010 15:12:36
Message-Id: E1NdmKn-0005o0-8K@stork.gentoo.org
1 hwoarang 10/02/06 15:12:33
2
3 Added: disable_webkit.patch
4 Log:
5 Version bump
6 (Portage version: 2.2_rc62/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 x11-misc/rednotebook/files/disable_webkit.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/rednotebook/files/disable_webkit.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/rednotebook/files/disable_webkit.patch?rev=1.1&content-type=text/plain
13
14 Index: disable_webkit.patch
15 ===================================================================
16 Index: rednotebook-0.9.2/rednotebook/gui/browser.py
17 ===================================================================
18 --- rednotebook-0.9.2.orig/rednotebook/gui/browser.py
19 +++ rednotebook-0.9.2/rednotebook/gui/browser.py
20 @@ -28,6 +28,8 @@ import warnings
21 import gtk
22 import gobject
23
24 +webkit = None
25 +
26 # Testing
27 if __name__ == '__main__':
28 sys.path.insert(0, '../../')
29 @@ -35,13 +37,6 @@ if __name__ == '__main__':
30 #gtk.gdk.threads_init() # only initializes threading in the glib/gobject module
31 gobject.threads_init() # also initializes the gdk threads
32
33 -
34 -try:
35 - import webkit
36 -except ImportError:
37 - logging.info('Importing webkit failed')
38 - webkit = None
39 -
40 from rednotebook.util import filesystem