7770: Always display main participants

This commit is contained in:
Nick Hall 2015-01-21 18:56:43 +00:00
parent 57209001cb
commit bbe5e0ec84
2 changed files with 3 additions and 9 deletions

View File

@ -152,8 +152,4 @@ class EventRefModel(gtk.TreeStore):
return u""
def column_participant(self, event_ref):
if int(event_ref.get_role()) not in (EventRoleType.PRIMARY,
EventRoleType.FAMILY):
return Utils.get_participant_from_event(self.db, event_ref.ref)
else:
return ""

View File

@ -95,8 +95,6 @@ class Events(Gramplet, DbGUIElement):
if spouse:
participants = name_displayer.display(spouse)
if int(event_ref.get_role()) not in (EventRoleType.PRIMARY,
EventRoleType.FAMILY):
participants = Utils.get_participant_from_event(self.dbstate.db,
event_ref.ref)