diff --git a/ChangeLog b/ChangeLog index caee40077..43fa21b3a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * test/RunAllTests.py: Change header. * src/EventEdit.py: Fix build_ methods. * src/MediaView.py: Skip empty selections. + * src/ToolTips.py (PersonTip.get_tip): Use new birth_ref interface. 2005-12-22 Don Allingham * src/DisplayState.py: window management improvements diff --git a/src/ToolTips.py b/src/ToolTips.py index a0029a2da..da0bae1c1 100644 --- a/src/ToolTips.py +++ b/src/ToolTips.py @@ -179,9 +179,9 @@ class PersonTip: global escape birth_str = "" - birth_handle = self._obj.get_birth_handle() - if birth_handle: - birth = self._db.get_event_from_handle(birth_handle) + birth_ref = self._obj.get_birth_ref() + if birth_ref: + birth = self._db.get_event_from_handle(birth_ref.ref) date_str = DateHandler.get_date(birth) if date_str != "": birth_str = escape(date_str)