* src/PeopleModel.py: Fixed rebuild_display
* src/ReadXML.py: Fixed calendar handling svn: r3813
This commit is contained in:
parent
44f83bb131
commit
5b602a4531
@ -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 = {}
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user