2003-11-01 Tim Waugh <twaugh@redhat.com>
* src/PeopleStore.py (PeopleStore.remove): Remove surname element after last individual with that surname is removed (bug #834105). svn: r2304
This commit is contained in:
parent
6625405678
commit
d07a9b77e1
@ -1,4 +1,9 @@
|
||||
2003-11-01 Tim Waugh <twaugh@redhat.com>
|
||||
|
||||
* src/PeopleStore.py (PeopleStore.remove): Remove
|
||||
surname element after last individual with that surname is
|
||||
removed (bug #834105).
|
||||
|
||||
* src/PeopleStore.py: Fixed double-click behaviour (bug #834104).
|
||||
|
||||
2003-10-31 Tim Waugh <twaugh@redhat.com>
|
||||
|
@ -196,7 +196,10 @@ class PeopleStore:
|
||||
self.model.clear()
|
||||
|
||||
def remove(self,iter):
|
||||
iter_parent = self.model.iter_parent (iter)
|
||||
self.model.remove(iter)
|
||||
if iter_parent and not self.model.iter_has_child (iter_parent):
|
||||
self.model.remove (iter_parent)
|
||||
self.count = self.count - 1
|
||||
|
||||
def get_row(self,iter):
|
||||
|
Loading…
Reference in New Issue
Block a user