2003-11-05 Tim Waugh <twaugh@redhat.com>
* src/plugins/FilterEditor.py (ShowResults.__init__): Sort results. svn: r2317
This commit is contained in:
parent
e05dba5575
commit
ef14f0fc87
@ -1,3 +1,8 @@
|
||||
2003-11-05 Tim Waugh <twaugh@redhat.com>
|
||||
|
||||
* src/plugins/FilterEditor.py (ShowResults.__init__): Sort
|
||||
results.
|
||||
|
||||
2003-11-03 Tim Waugh <twaugh@redhat.com>
|
||||
|
||||
* src/plugins/WriteGedcom.py (GedcomWriter.write_families): Use
|
||||
|
@ -28,6 +28,7 @@ __author__ = "Don Allingham"
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import os
|
||||
import string
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -591,11 +592,12 @@ class ShowResults:
|
||||
|
||||
self.glade.signal_autoconnect({'on_close_clicked' : self.close})
|
||||
|
||||
n = ""
|
||||
n = []
|
||||
for p in plist:
|
||||
n = n + "%s [%s]\n" % (p.getPrimaryName().getName(),p.getId())
|
||||
n.append ("%s [%s]\n" % (p.getPrimaryName().getName(),p.getId()))
|
||||
|
||||
text.get_buffer().set_text(n)
|
||||
n.sort ()
|
||||
text.get_buffer().set_text(string.join (n, ''))
|
||||
|
||||
def close(self,obj):
|
||||
self.top.destroy()
|
||||
|
Loading…
Reference in New Issue
Block a user