* src/Sources.py: Limit the source title to 40 characters
svn: r5086
This commit is contained in:
		| @@ -1,5 +1,6 @@ | ||||
| 2005-08-16  Don Allingham  <don@gramps-project.org> | ||||
| 	* src/plugins/NavWebPage.py: fix paths in surname page | ||||
| 	* src/Sources.py: Limit the source title to 40 characters | ||||
|  | ||||
| 2005-08-15  Alex Roitman  <shura@gramps-project.org> | ||||
| 	* NEWS: Update. | ||||
|   | ||||
| @@ -527,6 +527,10 @@ class SourceEditor: | ||||
|             src = self.db.get_source_from_handle(src_id) | ||||
|             title = src.get_title() | ||||
|             gid = src.get_gramps_id() | ||||
|  | ||||
|             if len(title) > 40: | ||||
|                 title = title[0:37] + "..." | ||||
|              | ||||
|             store.append(row=["%s [%s]" % (title,gid)]) | ||||
|             self.handle_list.append(src_id) | ||||
|             if selected_handle == src_id: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user