* configure.in: don't make help makefile
* src/FilterEditor/_ShowResults.py: shorten text, bug 1609 2008-01-16 Benny Malengier <benny.malengier@gramps-project.org> svn: r9839
This commit is contained in:
parent
00c4692b28
commit
6718ae6caa
@ -1,3 +1,7 @@
|
||||
2008-01-16 Benny Malengier <benny.malengier@gramps-project.org>
|
||||
* configure.in: don't make help makefile
|
||||
* src/FilterEditor/_ShowResults.py: shorten text, bug 1609
|
||||
|
||||
2008-01-16 Benny Malengier <benny.malengier@gramps-project.org>
|
||||
* src/GrampsDbUtils/_GrampsDbWriteXML.py: import gzip only once
|
||||
|
||||
|
@ -139,7 +139,6 @@ AC_MSG_RESULT($has_pyglade)
|
||||
AC_CONFIG_FILES([
|
||||
po/Makefile.in
|
||||
m4/Makefile
|
||||
help/Makefile
|
||||
Makefile
|
||||
gramps.sh
|
||||
src/const.py
|
||||
|
@ -133,9 +133,11 @@ class ShowResults(ManagedWindow.ManagedWindow):
|
||||
gid = repo.get_gramps_id()
|
||||
elif self.space == 'Note':
|
||||
note = self.db.get_note_from_handle(handle)
|
||||
name = note.get()
|
||||
name = note.get().replace('\n', ' ')
|
||||
if len(name) > 80:
|
||||
name = name[:80]+"..."
|
||||
gid = note.get_gramps_id()
|
||||
return (name,gid)
|
||||
return (name, gid)
|
||||
|
||||
def sort_val_from_handle(self, handle):
|
||||
if self.space == 'Person':
|
||||
@ -161,6 +163,6 @@ class ShowResults(ManagedWindow.ManagedWindow):
|
||||
name = self.db.get_repository_from_handle(handle).get_name()
|
||||
sortname = locale.strxfrm(name)
|
||||
elif self.space == 'Note':
|
||||
name = self.db.get_note_from_handle(handle).get()
|
||||
sortname = locale.strxfrm(name)
|
||||
gid = self.db.get_note_from_handle(handle).get_gramps_id()
|
||||
sortname = locale.strxfrm(gid)
|
||||
return (sortname,handle)
|
||||
|
Loading…
Reference in New Issue
Block a user