* src/PeopleModel.py: Fixed rebuild_display

* src/ReadXML.py: Fixed calendar handling


svn: r3813
This commit is contained in:
Don Allingham 2004-12-17 04:16:20 +00:00
parent 44f83bb131
commit 5b602a4531
2 changed files with 4 additions and 3 deletions

View File

@ -74,8 +74,9 @@ class PeopleModel(gtk.GenericTreeModel):
self.top_visible = {}
self.rebuild_data(data_filter)
def rebuild_data(self,data_filter):
self.data_filter = data_filter
def rebuild_data(self,data_filter=None):
if data_filter:
self.data_filter = data_filter
temp_top_path2iter = []
temp_iter2path = {}
temp_path2iter = {}

View File

@ -1052,7 +1052,7 @@ class GrampsParser:
d = 0
if attrs.has_key("cformat"):
cal = Date.Date.calendar.index(attrs['calendar'])
cal = Date.Date.calendar_names.index(attrs['calendar'])
else:
cal = Date.CAL_GREGORIAN