Enabled tree lines and set sensitivity on transforms

This commit is contained in:
Arnar Flatberg 2007-08-24 09:12:52 +00:00
parent fa4604dbe5
commit 7538710144

View File

@ -20,7 +20,7 @@ class NavigatorView (gtk.TreeView):
# various properties
#self.set_enable_tree_lines(True)
self.set_enable_tree_lines(True)
self.set_headers_visible(False)
self.get_hadjustment().set_value(0)
@ -247,9 +247,11 @@ class NavigatorMenu(gtk.Menu):
if ds == None:
self.save_item.set_property('sensitive', False)
self.plot_item.set_property('sensitive', False)
self.trans_item.set_property('sensitive', False)
else:
self.save_item.set_property('sensitive', True)
self.plot_item.set_property('sensitive', True)
self.trans_item.set_property('sensitive', True)
def on_load_dataset(self, item, navigator):
dialog = gtk.FileChooserDialog('Load dataset')