diff options
-rw-r--r-- | src/ventoo/AugEditTree.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ventoo/AugEditTree.py b/src/ventoo/AugEditTree.py index 559cf7f..52bf9ac 100644 --- a/src/ventoo/AugEditTree.py +++ b/src/ventoo/AugEditTree.py @@ -114,6 +114,12 @@ class AugEditTree(gtk.TreeView): break return ret + def setValid(self, path): + self.tv_store[path][3] = False + + def setInvalid(self, path): + self.tv_store[path][3] = True + """ Same as get_label_path, except converts a string path to an iterator for you. @@ -122,4 +128,4 @@ class AugEditTree(gtk.TreeView): return self.get_label_path(self.tv_store.get_iter(path)) def addElement(self, parentIter, enabled, label, text): - return self.tv_store.append(parentIter, [enabled, label, text, False, '#C9C9C9']) + return self.tv_store.append(parentIter, [enabled, label, text, False, '#FF0000']) |