Enabled tree lines and set sensitivity on transforms
This commit is contained in:
parent
fa4604dbe5
commit
7538710144
|
@ -20,7 +20,7 @@ class NavigatorView (gtk.TreeView):
|
||||||
|
|
||||||
# various properties
|
# various properties
|
||||||
|
|
||||||
#self.set_enable_tree_lines(True)
|
self.set_enable_tree_lines(True)
|
||||||
self.set_headers_visible(False)
|
self.set_headers_visible(False)
|
||||||
self.get_hadjustment().set_value(0)
|
self.get_hadjustment().set_value(0)
|
||||||
|
|
||||||
|
@ -247,9 +247,11 @@ class NavigatorMenu(gtk.Menu):
|
||||||
if ds == None:
|
if ds == None:
|
||||||
self.save_item.set_property('sensitive', False)
|
self.save_item.set_property('sensitive', False)
|
||||||
self.plot_item.set_property('sensitive', False)
|
self.plot_item.set_property('sensitive', False)
|
||||||
|
self.trans_item.set_property('sensitive', False)
|
||||||
else:
|
else:
|
||||||
self.save_item.set_property('sensitive', True)
|
self.save_item.set_property('sensitive', True)
|
||||||
self.plot_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):
|
def on_load_dataset(self, item, navigator):
|
||||||
dialog = gtk.FileChooserDialog('Load dataset')
|
dialog = gtk.FileChooserDialog('Load dataset')
|
||||||
|
|
Reference in New Issue