* 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>
|
||||
* src/DdTargets.py: added PERSON_LINK_LIST target.
|
||||
* src/FamilyView.py: corrected bug when person is droped if there is no current
|
||||
|
@ -770,7 +770,10 @@ def build_detail_string(db,person):
|
||||
if place_handle:
|
||||
place_title = db.get_place_from_handle(place_handle).get_title()
|
||||
if place_title != "":
|
||||
ep = place_title
|
||||
if len(place_title) > 15:
|
||||
ep = place_title[:14]+"..."
|
||||
else:
|
||||
ep = place_title
|
||||
if ep:
|
||||
return u"\n%s %s, %s" % (label,ed,ep)
|
||||
return u"\n%s %s" % (label,ed)
|
||||
|
Loading…
Reference in New Issue
Block a user