diff --git a/src/gui/editors/displaytabs/eventrefmodel.py b/src/gui/editors/displaytabs/eventrefmodel.py index 0e409c8c4..cfb7412db 100644 --- a/src/gui/editors/displaytabs/eventrefmodel.py +++ b/src/gui/editors/displaytabs/eventrefmodel.py @@ -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 "" + return Utils.get_participant_from_event(self.db, event_ref.ref) diff --git a/src/plugins/gramplet/Events.py b/src/plugins/gramplet/Events.py index 1bf1c4cb4..58f5b6adf 100644 --- a/src/plugins/gramplet/Events.py +++ b/src/plugins/gramplet/Events.py @@ -95,10 +95,8 @@ 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) + participants = Utils.get_participant_from_event(self.dbstate.db, + event_ref.ref) self.model.add((event.get_handle(), str(event.get_type()),