Show More
@@ -1150,7 +1150,10 b' class IPShellMatplotlibQt4(IPShellQt4):' | |||
|
1150 | 1150 | # Factory functions to actually start the proper thread-aware shell |
|
1151 | 1151 | |
|
1152 | 1152 | def check_gtk(mode): |
|
1153 | import gtk | |
|
1153 | try: | |
|
1154 | import gtk | |
|
1155 | except ImportError: | |
|
1156 | return mode | |
|
1154 | 1157 | if hasattr(gtk,'set_interactive'): |
|
1155 | 1158 | gtk.set_interactive(False) |
|
1156 | 1159 | return 'tkthread' |
General Comments 0
You need to be logged in to leave comments.
Login now