Removed debug print statements.
This commit is contained in:
parent
4ec79d2d9a
commit
d0f307c135
|
@ -73,6 +73,7 @@ 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)
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import os, os.path
|
||||
import sys
|
||||
import configobj
|
||||
import time
|
||||
|
||||
import dataset
|
||||
|
@ -249,7 +248,6 @@ class DataDirectory(Directory):
|
|||
"""
|
||||
filepath = os.path.join(self.path, fn)
|
||||
name, ext = os.path.splitext(fn)
|
||||
print self.datasets
|
||||
if ext == ".ftsv":
|
||||
oldds = self.dsfiles[fn]
|
||||
self.datasets.remove(oldds)
|
||||
|
@ -258,7 +256,6 @@ class DataDirectory(Directory):
|
|||
self.datasets.append(ds)
|
||||
|
||||
self.dsfiles[fn] = ds
|
||||
print self.datasets
|
||||
|
||||
def file_removed(self, fn):
|
||||
"""Called from update() when a file is deleted
|
||||
|
@ -292,11 +289,9 @@ class AnnotationDirectory(Directory):
|
|||
Directory.__init__(self, dirname)
|
||||
|
||||
def file_created(self, fn):
|
||||
print "File created: %s" % fn
|
||||
annotations.read_annotations_file(os.path.join(self.dirname, fn))
|
||||
|
||||
def file_changed(self, fn):
|
||||
print "File changed: %s" % fn
|
||||
annotations.read_annotations_file(os.path.join(self.dirname, fn))
|
||||
|
||||
def file_removed(self, fn):
|
||||
|
|
|
@ -148,11 +148,9 @@ class IdListController:
|
|||
|
||||
dim_h = annotations.get_dim_handler(self._dimension)
|
||||
if not dim_h:
|
||||
print "set_sensitive(False)"
|
||||
self._menu_ann.set_sensitive(False)
|
||||
else:
|
||||
annotations_menu = gtk.Menu()
|
||||
print "set_sensitive(True)"
|
||||
self._menu_ann.set_sensitive(True)
|
||||
dh = annotations.get_dim_handler(self._dimension)
|
||||
ann_names = dh.get_annotation_names()
|
||||
|
|
Reference in New Issue