Update
svn: r4802
This commit is contained in:
parent
f4d4c73129
commit
7bdd756df9
@ -397,6 +397,11 @@ class EventListBox(ReorderListBox):
|
|||||||
ref_role = event_ref.get_role()
|
ref_role = event_ref.get_role()
|
||||||
if ref_role[0] == RelLib.EventRef.CUSTOM \
|
if ref_role[0] == RelLib.EventRef.CUSTOM \
|
||||||
or not Utils.event_roles.has_key(ref_role[0]):
|
or not Utils.event_roles.has_key(ref_role[0]):
|
||||||
|
role = ref_role[1]
|
||||||
|
else:
|
||||||
|
role = Utils.event_roles[ref_role[0]]
|
||||||
|
return [name, event.get_description(), event.get_date(),
|
||||||
|
pname, role, has_source, has_note]
|
||||||
|
|
||||||
class NameListBox(ReorderListBox):
|
class NameListBox(ReorderListBox):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user