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:
parent
d570b0fd56
commit
1f9b8dafdd
@ -1,5 +1,8 @@
|
|||||||
2003-11-05 Tim Waugh <twaugh@redhat.com>
|
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
|
* src/plugins/FilterEditor.py (ShowResults.__init__): Sort
|
||||||
results.
|
results.
|
||||||
|
|
||||||
|
@ -190,7 +190,7 @@ class FamilyView:
|
|||||||
|
|
||||||
if not already_init:
|
if not already_init:
|
||||||
Utils.build_columns(self.child_list,
|
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),
|
(_('Gender'),100,-1), (_('Birth date'),150,6),
|
||||||
(_('Status'),100,-1), ('',0,-1) ])
|
(_('Status'),100,-1), ('',0,-1) ])
|
||||||
self.cadded[fv] = 1
|
self.cadded[fv] = 1
|
||||||
@ -810,8 +810,9 @@ class FamilyView:
|
|||||||
if fiter == None:
|
if fiter == None:
|
||||||
fiter = self.child_model.get_path(iter)
|
fiter = self.child_model.get_path(iter)
|
||||||
val = self.parent.db.getPersonDisplay(child.getId())
|
val = self.parent.db.getPersonDisplay(child.getId())
|
||||||
|
i += 1
|
||||||
self.child_model.set(iter,
|
self.child_model.set(iter,
|
||||||
0,(i+1),
|
0,i,
|
||||||
1,val[0],
|
1,val[0],
|
||||||
2,val[1],
|
2,val[1],
|
||||||
3,val[2],
|
3,val[2],
|
||||||
|
Loading…
Reference in New Issue
Block a user