Fixed bug that caused right-click in the identifier list to change the list's selection status.
This commit is contained in:
parent
1f2055d6b7
commit
c612724378
|
@ -73,7 +73,6 @@ class LogView(gtk.TreeView):
|
|||
|
||||
# Make sure tree view displays bottom entry when entered
|
||||
def scroll_to_last(model, path, it):
|
||||
print path
|
||||
if path:
|
||||
self.scroll_to_cell(path)
|
||||
self.model.connect('row-changed', scroll_to_last)
|
||||
|
|
|
@ -333,6 +333,7 @@ class SelectionDirectory(Directory):
|
|||
|
||||
Warnings are printed to terminal on duplicated ids and invalid ids.
|
||||
"""
|
||||
print "read_selection_file(%s)" % (fn,)
|
||||
fd = open(fn)
|
||||
ids = []
|
||||
for line in fd.readlines():
|
||||
|
|
|
@ -37,7 +37,7 @@ class ProjectView:
|
|||
|
||||
def _load_datasets(self):
|
||||
print "load datasets from project..."
|
||||
print self.project.data.datasets
|
||||
print "datasets: ", self.project.data.datasets
|
||||
for ds in self.project.data.datasets:
|
||||
if isinstance(ds, dataset.GraphDataset):
|
||||
icon = laydi.icon_factory.get("graph_dataset")
|
||||
|
|
|
@ -255,6 +255,7 @@ class IdListController:
|
|||
if event.button == 3:
|
||||
self._update_annotations_menu()
|
||||
self._menu.popup(None, None, None, event.button, event.time)
|
||||
return True
|
||||
|
||||
def _on_export_list(self, menuitem):
|
||||
self.export_annotations()
|
||||
|
|
|
@ -93,7 +93,7 @@ class Workflow:
|
|||
self.stages_by_id[stage.id] = stage
|
||||
|
||||
def print_tree(self):
|
||||
print self.name
|
||||
print "Workflow:", self.name
|
||||
for stage in self.stages:
|
||||
print ' %s' % stage.name
|
||||
for fun in stage.functions:
|
||||
|
|
Reference in New Issue