* src/DisplayModels/_PeopleModel.py: fix MarkerType.TODO_TYPE

svn: r7923
This commit is contained in:
Martin Hawlisch 2007-01-17 10:57:37 +00:00
parent 86ba5b60b6
commit 2b95a07264
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2007-01-17 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/DisplayModels/_PeopleModel.py: fix MarkerType.TODO_TYPE
2007-01-16 Alex Roitman <shura@gramps-project.org>
* src/NameDisplay.py (set_name_format): Use hard-coded methods for
the pre-set name displays formats.

View File

@ -608,7 +608,7 @@ class PeopleModel(gtk.GenericTreeModel):
if data[PeopleModel._MARKER_COL]:
if data[PeopleModel._MARKER_COL][0] == MarkerType.COMPLETE:
return self.complete_color
if data[PeopleModel._MARKER_COL][0] == MarkerType.TODO:
if data[PeopleModel._MARKER_COL][0] == MarkerType.TODO_TYPE:
return self.todo_color
if data[PeopleModel._MARKER_COL][0] == MarkerType.CUSTOM:
return self.custom_color