Use new link tag; SimpleTable can now output docgen types other than gtk

svn: r13588
This commit is contained in:
Doug Blank
2009-11-15 13:18:59 +00:00
parent 406e46eac9
commit a96eb41a7f
4 changed files with 19 additions and 5 deletions

View File

@@ -38,7 +38,6 @@ class DjangoDb(GrampsDbBase):
return obj
def get_event_from_handle(self, handle):
print "get_event_from_handle:", handle
obj = gen.lib.Event()
obj.unserialize(self.dji.get_event(self.dji.Event.get(handle=handle)))
return obj

View File

@@ -78,7 +78,7 @@ def events_table(djperson):
print djevent.description
table.row(
djevent.description,
str(djevent.event_type),
table.db.get_event_from_handle(djevent.handle),
djevent.gramps_id,
display_date(djevent),
get_title(djevent.place),