Convert to new GenericTreeView models

svn: r3040
This commit is contained in:
Don Allingham
2004-03-22 04:41:35 +00:00
parent 6de2c197da
commit 4a7d9131aa
15 changed files with 713 additions and 551 deletions

View File

@ -77,9 +77,9 @@ class DateEdit:
text = unicode(self.text_obj.get_text())
self.checkval.set(text)
if not self.checkval.isValid():
if not self.checkval.is_valid():
self.pixmap_obj.set_from_pixbuf(DateEdit.bad)
elif self.checkval.getIncomplete():
elif self.checkval.get_incomplete():
self.pixmap_obj.set_from_pixbuf(DateEdit.caution)
else:
self.pixmap_obj.set_from_pixbuf(DateEdit.good)