* 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>
|
2008-01-16 Benny Malengier <benny.malengier@gramps-project.org>
|
||||||
* src/GrampsDbUtils/_GrampsDbWriteXML.py: import gzip only once
|
* src/GrampsDbUtils/_GrampsDbWriteXML.py: import gzip only once
|
||||||
|
|
||||||
|
@ -139,7 +139,6 @@ AC_MSG_RESULT($has_pyglade)
|
|||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
po/Makefile.in
|
po/Makefile.in
|
||||||
m4/Makefile
|
m4/Makefile
|
||||||
help/Makefile
|
|
||||||
Makefile
|
Makefile
|
||||||
gramps.sh
|
gramps.sh
|
||||||
src/const.py
|
src/const.py
|
||||||
|
@ -133,9 +133,11 @@ class ShowResults(ManagedWindow.ManagedWindow):
|
|||||||
gid = repo.get_gramps_id()
|
gid = repo.get_gramps_id()
|
||||||
elif self.space == 'Note':
|
elif self.space == 'Note':
|
||||||
note = self.db.get_note_from_handle(handle)
|
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()
|
gid = note.get_gramps_id()
|
||||||
return (name,gid)
|
return (name, gid)
|
||||||
|
|
||||||
def sort_val_from_handle(self, handle):
|
def sort_val_from_handle(self, handle):
|
||||||
if self.space == 'Person':
|
if self.space == 'Person':
|
||||||
@ -161,6 +163,6 @@ class ShowResults(ManagedWindow.ManagedWindow):
|
|||||||
name = self.db.get_repository_from_handle(handle).get_name()
|
name = self.db.get_repository_from_handle(handle).get_name()
|
||||||
sortname = locale.strxfrm(name)
|
sortname = locale.strxfrm(name)
|
||||||
elif self.space == 'Note':
|
elif self.space == 'Note':
|
||||||
name = self.db.get_note_from_handle(handle).get()
|
gid = self.db.get_note_from_handle(handle).get_gramps_id()
|
||||||
sortname = locale.strxfrm(name)
|
sortname = locale.strxfrm(gid)
|
||||||
return (sortname,handle)
|
return (sortname,handle)
|
||||||
|
Loading…
Reference in New Issue
Block a user