* src/DataViews/_PersonView.py (column_names): Remove cause of death.

* src/DisplayModels/_PeopleModel.py (__init__): Update the order
	of marker and tooltip columns;
	(column_cause_of_death): remove method;
	(COLUMN_DEFS): Remove 'cause of death' column.
	* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_10): Reset event
	and person view columns to the default.
	* src/GrampsDb/_GrampsDbBase.py (get_event_column_order): Remove
	cause column from the default list.
	(get_person_column_order): Remove cause of death column.



svn: r7224
This commit is contained in:
Alex Roitman
2006-08-21 06:32:31 +00:00
parent 74ec4d41f5
commit b64e1f0eb2
5 changed files with 33 additions and 19 deletions

View File

@@ -1925,7 +1925,7 @@ class GrampsDbBase(GrampsDBCallback):
"""
default = [(1, 1, 100), (1, 2, 100), (1, 3, 150), (0, 4, 150),
(1, 5, 150), (0, 6, 150), (0, 7, 100), (0, 8, 100),
(0, 9, 100)]
]
return self._get_column_order(PERSON_COL_KEY, default)
def _get_columns(self, key, default):
@@ -1993,7 +1993,7 @@ class GrampsDbBase(GrampsDBCallback):
database's metadata.
"""
default = [(1, 0, 200), (1, 1, 75), (1, 2, 100), (1, 3, 150),
(1, 4, 200), (1, 5, 100), (0, 6, 100)]
(1, 4, 200), (0, 5, 100)]
return self._get_columns(EVENT_COL_KEY, default)
def get_repository_column_order(self):