* src/ToolTips.py (PersonTip.get_tip): Use new birth_ref interface.
svn: r5622
This commit is contained in:
parent
79a520b949
commit
c30167137c
@ -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 <don@gramps-project.org>
|
||||
* src/DisplayState.py: window management improvements
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user