From 2b95a07264ecd431ab773c81eb2cdfcde2865b68 Mon Sep 17 00:00:00 2001 From: Martin Hawlisch Date: Wed, 17 Jan 2007 10:57:37 +0000 Subject: [PATCH] * src/DisplayModels/_PeopleModel.py: fix MarkerType.TODO_TYPE svn: r7923 --- gramps2/ChangeLog | 3 +++ gramps2/src/DisplayModels/_PeopleModel.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 86a0e4f94..2575a389f 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2007-01-17 Martin Hawlisch + * src/DisplayModels/_PeopleModel.py: fix MarkerType.TODO_TYPE + 2007-01-16 Alex Roitman * src/NameDisplay.py (set_name_format): Use hard-coded methods for the pre-set name displays formats. diff --git a/gramps2/src/DisplayModels/_PeopleModel.py b/gramps2/src/DisplayModels/_PeopleModel.py index 77031609d..88a93c8c3 100644 --- a/gramps2/src/DisplayModels/_PeopleModel.py +++ b/gramps2/src/DisplayModels/_PeopleModel.py @@ -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