* src/PedView.py: Truncate place names because they tend to be loooong.
svn: r4309
This commit is contained in:
parent
0b6456511e
commit
7bb52a76db
@ -1,3 +1,6 @@
|
|||||||
|
2005-04-06 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||||
|
* src/PedView.py: Truncate place names because they tend to be loooong.
|
||||||
|
|
||||||
2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
|
2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
|
||||||
* src/DdTargets.py: added PERSON_LINK_LIST target.
|
* src/DdTargets.py: added PERSON_LINK_LIST target.
|
||||||
* src/FamilyView.py: corrected bug when person is droped if there is no current
|
* src/FamilyView.py: corrected bug when person is droped if there is no current
|
||||||
|
@ -770,6 +770,9 @@ def build_detail_string(db,person):
|
|||||||
if place_handle:
|
if place_handle:
|
||||||
place_title = db.get_place_from_handle(place_handle).get_title()
|
place_title = db.get_place_from_handle(place_handle).get_title()
|
||||||
if place_title != "":
|
if place_title != "":
|
||||||
|
if len(place_title) > 15:
|
||||||
|
ep = place_title[:14]+"..."
|
||||||
|
else:
|
||||||
ep = place_title
|
ep = place_title
|
||||||
if ep:
|
if ep:
|
||||||
return u"\n%s %s, %s" % (label,ed,ep)
|
return u"\n%s %s, %s" % (label,ed,ep)
|
||||||
|
Loading…
Reference in New Issue
Block a user