handle temple not set for LdsOrd
svn: r6272
This commit is contained in:
parent
4f1d230de1
commit
a6acc06720
@ -1,4 +1,5 @@
|
||||
2006-04-05 Don Allingham <don@gramps-project.org>
|
||||
* src/DisplayTabs.py: handle temple not set for LdsOrd
|
||||
* src/RelLib/_LdsOrd.py: unserialize returns self
|
||||
* src/RelLib/_LdsOrdBase.py: variable name change
|
||||
|
||||
|
@ -1931,17 +1931,14 @@ class LdsModel(gtk.ListStore):
|
||||
|
||||
self.db = db
|
||||
for lds_ord in lds_list:
|
||||
if not lds_ord:
|
||||
print "BARF"
|
||||
else:
|
||||
self.append(row=[
|
||||
lds.ord_type[lds_ord.get_type()],
|
||||
DateHandler.get_date(lds_ord),
|
||||
lds.ord_status[lds_ord.get_status()],
|
||||
lds.temple_to_abrev[lds_ord.get_temple()],
|
||||
self.column_place(lds_ord),
|
||||
lds_ord,
|
||||
])
|
||||
self.append(row=[
|
||||
lds.ord_type[lds_ord.get_type()],
|
||||
DateHandler.get_date(lds_ord),
|
||||
lds.ord_status[lds_ord.get_status()],
|
||||
lds.temple_to_abrev.get(lds_ord.get_temple(),_("unknown")),
|
||||
self.column_place(lds_ord),
|
||||
lds_ord,
|
||||
])
|
||||
|
||||
def column_place(self, lds_ord):
|
||||
if lds_ord:
|
||||
|
Loading…
Reference in New Issue
Block a user