summaryrefslogtreecommitdiff
blob: dd60a4b9424e061f33f61003c0d4c66f56feb5a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Index: rednotebook-0.8.9/rednotebook/gui/keepnote/gui/richtext/__init__.py
===================================================================
--- rednotebook-0.8.9.orig/rednotebook/gui/keepnote/gui/richtext/__init__.py
+++ rednotebook-0.8.9/rednotebook/gui/keepnote/gui/richtext/__init__.py
@@ -18,10 +18,7 @@ import gtk, gobject, pango
 from gtk import gdk
 
 # try to import spell check
-try:
-    import gtkspell
-except ImportError:
-    gtkspell = None
+gtkspell = None
 
 
 # textbuffer_tools imports
Index: rednotebook-0.8.9/rednotebook/gui/mainWindow.py
===================================================================
--- rednotebook-0.8.9.orig/rednotebook/gui/mainWindow.py
+++ rednotebook-0.8.9/rednotebook/gui/mainWindow.py
@@ -31,11 +31,7 @@ import gtk
 import gobject
 import pango
 
-# try to import gtkspell
-try:
-	import gtkspell
-except ImportError:
-	gtkspell = None
+gtkspell = None
 
 
 # Initialize the gtk thread engine