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
|
# Make sure tree view displays bottom entry when entered
|
||||||
def scroll_to_last(model, path, it):
|
def scroll_to_last(model, path, it):
|
||||||
|
print path
|
||||||
if path:
|
if path:
|
||||||
self.scroll_to_cell(path)
|
self.scroll_to_cell(path)
|
||||||
self.model.connect('row-changed', scroll_to_last)
|
self.model.connect('row-changed', scroll_to_last)
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import os, os.path
|
import os, os.path
|
||||||
import sys
|
import sys
|
||||||
import configobj
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
import dataset
|
import dataset
|
||||||
|
@ -249,7 +248,6 @@ class DataDirectory(Directory):
|
||||||
"""
|
"""
|
||||||
filepath = os.path.join(self.path, fn)
|
filepath = os.path.join(self.path, fn)
|
||||||
name, ext = os.path.splitext(fn)
|
name, ext = os.path.splitext(fn)
|
||||||
print self.datasets
|
|
||||||
if ext == ".ftsv":
|
if ext == ".ftsv":
|
||||||
oldds = self.dsfiles[fn]
|
oldds = self.dsfiles[fn]
|
||||||
self.datasets.remove(oldds)
|
self.datasets.remove(oldds)
|
||||||
|
@ -258,7 +256,6 @@ class DataDirectory(Directory):
|
||||||
self.datasets.append(ds)
|
self.datasets.append(ds)
|
||||||
|
|
||||||
self.dsfiles[fn] = ds
|
self.dsfiles[fn] = ds
|
||||||
print self.datasets
|
|
||||||
|
|
||||||
def file_removed(self, fn):
|
def file_removed(self, fn):
|
||||||
"""Called from update() when a file is deleted
|
"""Called from update() when a file is deleted
|
||||||
|
@ -292,11 +289,9 @@ class AnnotationDirectory(Directory):
|
||||||
Directory.__init__(self, dirname)
|
Directory.__init__(self, dirname)
|
||||||
|
|
||||||
def file_created(self, fn):
|
def file_created(self, fn):
|
||||||
print "File created: %s" % fn
|
|
||||||
annotations.read_annotations_file(os.path.join(self.dirname, fn))
|
annotations.read_annotations_file(os.path.join(self.dirname, fn))
|
||||||
|
|
||||||
def file_changed(self, fn):
|
def file_changed(self, fn):
|
||||||
print "File changed: %s" % fn
|
|
||||||
annotations.read_annotations_file(os.path.join(self.dirname, fn))
|
annotations.read_annotations_file(os.path.join(self.dirname, fn))
|
||||||
|
|
||||||
def file_removed(self, fn):
|
def file_removed(self, fn):
|
||||||
|
|
|
@ -148,11 +148,9 @@ 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()
|
||||||
|
|
Reference in New Issue