svn: r7519
This commit is contained in:
Don Allingham 2006-10-30 18:09:42 +00:00
parent c13a1a8358
commit b72b0aa36e

View File

@ -653,6 +653,8 @@ class PersonView(PageView.PersonNavView):
def person_added(self,handle_list):
if not self.model:
return
if self.active:
self.dirty = False
for node in handle_list:
person = self.dbstate.db.get_person_from_handle(node)
pn = person.get_primary_name()
@ -667,10 +669,10 @@ class PersonView(PageView.PersonNavView):
pnode = self.model.get_iter(path)
self.model.row_inserted(path,pnode)
path = self.model.on_get_path(node)
tnode = self.model.get_iter((path[0],))
pnode = self.model.get_iter(path)
print top, path, tnode, pnode
pnode = self.model.on_get_iter(path)
self.model.row_inserted(path, pnode)
else:
self.dirty = True
def person_removed(self,handle_list):
if not self.model: