--- Shell.old.py 2008-09-16 11:35:55.806118200 +0900 +++ Shell.py 2008-09-16 11:36:16.774197200 +0900 @@ -776,6 +776,10 @@ debug=1,shell_class=MTInteractiveShell): import gtk + try: + gtk.set_interactive(False) + except AttributeError: + pass self.gtk = gtk self.gtk_mainloop = hijack_gtk()