Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Added debug output.

This commit is contained in:
Einar Ryeng 2007-03-14 17:26:40 +00:00
parent 438a268b1d
commit 1c48315a0f
1 changed files with 2 additions and 0 deletions

View File

@ -132,9 +132,11 @@ class IdListController:
dim_h = annotations.get_dim_handler(self._dimension) dim_h = annotations.get_dim_handler(self._dimension)
if not dim_h: if not dim_h:
print "set_sensitive(False)"
self._menu_ann.set_sensitive(False) self._menu_ann.set_sensitive(False)
else: else:
annotations_menu = gtk.Menu() annotations_menu = gtk.Menu()
print "set_sensitive(True)"
self._menu_ann.set_sensitive(True) self._menu_ann.set_sensitive(True)
dh = annotations.get_dim_handler(self._dimension) dh = annotations.get_dim_handler(self._dimension)
ann_names = dh.get_annotation_names() ann_names = dh.get_annotation_names()