* src/PedView.py: Truncate place names because they tend to be loooong.
svn: r4309
This commit is contained in:
		| @@ -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,6 +770,9 @@ def build_detail_string(db,person): | ||||
|         if place_handle: | ||||
|             place_title = db.get_place_from_handle(place_handle).get_title() | ||||
|             if 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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user