if show_type is 'table_view':
from outtable import Out_Table_Control
out = Out_Table_Control(self.cfg)
+ elif show_type is 'diag_view':
+ from outdiag import Out_Diag_Control
+ out = Out_Diag_Control(self.cfg)
if search_type is 'large_file':
from filesearch import Search_File_Control
show_butt1.connect('toggled', self.show_type, 'table_view')
show_butt1.set_active(True)
show_butt2 = gtk.RadioButton(show_butt1, 'Show in Diagram view')
- show_butt2.connect('toggled', self.show_type, 'table_view')
+ show_butt2.connect('toggled', self.show_type, 'diag_view')
self.show = 'table_view'
separator2 = gtk.HSeparator()