From 7bdd756df929ebb97bd723d6bcef4d17c811f4df Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Wed, 8 Jun 2005 04:45:41 +0000 Subject: [PATCH] Update svn: r4802 --- gramps2/src/ListBox.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gramps2/src/ListBox.py b/gramps2/src/ListBox.py index 693dd7e86..7687e8b65 100644 --- a/gramps2/src/ListBox.py +++ b/gramps2/src/ListBox.py @@ -397,6 +397,11 @@ class EventListBox(ReorderListBox): ref_role = event_ref.get_role() if ref_role[0] == RelLib.EventRef.CUSTOM \ 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):