* src/FilterEditor/_EditRule.py: limit source name in menu display
to 40 characters (#451) svn: r7337
This commit is contained in:
parent
9d23a4aaa4
commit
9408e706d0
@ -1,4 +1,6 @@
|
||||
2006-09-29 Don Allingham <don@gramps-project.org>
|
||||
* src/FilterEditor/_EditRule.py: limit source name in menu display
|
||||
to 40 characters (#451)
|
||||
* src/GrampsDb/_ReadGedcom.py: Handle the Place/Address combination
|
||||
for events
|
||||
|
||||
|
@ -184,7 +184,10 @@ class MySource(gtk.ComboBox):
|
||||
for src_handle in self.db.get_source_handles(sort_handles=True):
|
||||
src = self.db.get_source_from_handle(src_handle)
|
||||
self.slist.append(src.get_gramps_id())
|
||||
store.append(row=["%s [%s]" % (src.get_title(),src.get_gramps_id())])
|
||||
title = src.get_title()
|
||||
if len(title) > 44:
|
||||
title = title[:40] + "..."
|
||||
store.append(row=["%s [%s]" % (title,src.get_gramps_id())])
|
||||
|
||||
self.set_active(0)
|
||||
self.show()
|
||||
|
Loading…
Reference in New Issue
Block a user