2003-11-05 Tim Waugh <twaugh@redhat.com>

* src/gramps_main.py, src/FamilyView.py: Fix children enumeration
        in family view.


svn: r2318
This commit is contained in:
Tim Waugh 2003-11-05 11:37:00 +00:00
parent d570b0fd56
commit 1f9b8dafdd
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2003-11-05 Tim Waugh <twaugh@redhat.com>
* src/gramps_main.py, src/FamilyView.py: Fix children enumeration
in family view.
* src/plugins/FilterEditor.py (ShowResults.__init__): Sort
results.

View File

@ -190,7 +190,7 @@ class FamilyView:
if not already_init:
Utils.build_columns(self.child_list,
[ ('',30,0), (_('Name'),250,-1), (_('ID'),50,-1),
[ (' ',30,0), (_('Name'),250,-1), (_('ID'),50,-1),
(_('Gender'),100,-1), (_('Birth date'),150,6),
(_('Status'),100,-1), ('',0,-1) ])
self.cadded[fv] = 1
@ -810,8 +810,9 @@ class FamilyView:
if fiter == None:
fiter = self.child_model.get_path(iter)
val = self.parent.db.getPersonDisplay(child.getId())
i += 1
self.child_model.set(iter,
0,(i+1),
0,i,
1,val[0],
2,val[1],
3,val[2],