From 05d1af7c0b5404f5024938d5c6d283bb1db921ee Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Wed, 8 Jun 2005 04:45:41 +0000 Subject: [PATCH] Update svn: r4802 --- src/ListBox.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ListBox.py b/src/ListBox.py index 693dd7e86..7687e8b65 100644 --- a/src/ListBox.py +++ b/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):