* src/PeopleModel.py: Fixed rebuild_display
* src/ReadXML.py: Fixed calendar handling svn: r3813
This commit is contained in:
parent
44f83bb131
commit
5b602a4531
@ -74,7 +74,8 @@ class PeopleModel(gtk.GenericTreeModel):
|
|||||||
self.top_visible = {}
|
self.top_visible = {}
|
||||||
self.rebuild_data(data_filter)
|
self.rebuild_data(data_filter)
|
||||||
|
|
||||||
def rebuild_data(self,data_filter):
|
def rebuild_data(self,data_filter=None):
|
||||||
|
if data_filter:
|
||||||
self.data_filter = data_filter
|
self.data_filter = data_filter
|
||||||
temp_top_path2iter = []
|
temp_top_path2iter = []
|
||||||
temp_iter2path = {}
|
temp_iter2path = {}
|
||||||
|
@ -1052,7 +1052,7 @@ class GrampsParser:
|
|||||||
d = 0
|
d = 0
|
||||||
|
|
||||||
if attrs.has_key("cformat"):
|
if attrs.has_key("cformat"):
|
||||||
cal = Date.Date.calendar.index(attrs['calendar'])
|
cal = Date.Date.calendar_names.index(attrs['calendar'])
|
||||||
else:
|
else:
|
||||||
cal = Date.CAL_GREGORIAN
|
cal = Date.CAL_GREGORIAN
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user