Some widgets (connection menu, statusbar and maybe more) get confused by
native shell. They still expect only editor widgets in the main view.
Example traceback:
{{{
Traceback (most recent call last):
File "/storage/devel/cf/default/cf/ui/mainwindow.py", line 819, in
set_editor_active
self.tb_conn_chooser.set_editor(editor)
File "/storage/devel/cf/default/cf/ui/widgets/__init__.py", line 80, in
set_editor
self.rebuild_menu()
File "/storage/devel/cf/default/cf/ui/widgets/__init__.py", line 64, in
rebuild_menu
rebuild_connection_menu(self._menu, self.mainwin, self._editor)
File "/storage/devel/cf/default/cf/ui/widgets/__init__.py", line 149, in
rebuild_connection_menu
action.set_sensitive(editor.connection is not None)
AttributeError: 'NativeShell' object has no attribute 'connection'
}}}
Original issue reported on code.google.com by albrecht.andi on 30 May 2009 at 8:31
Original issue reported on code.google.com by
albrecht.andi
on 30 May 2009 at 8:31