remove skip feature
svn: r5812
This commit is contained in:
parent
ec6af75b7d
commit
8d5da7b928
@ -121,10 +121,10 @@ class PeopleModel(gtk.GenericTreeModel):
|
|||||||
self.rebuild_data(data_filter)
|
self.rebuild_data(data_filter)
|
||||||
|
|
||||||
def rebuild_data(self,data_filter=None,skip=None):
|
def rebuild_data(self,data_filter=None,skip=None):
|
||||||
self.calculate_data(data_filter,skip)
|
self.calculate_data(data_filter)
|
||||||
self.assign_data()
|
self.assign_data()
|
||||||
|
|
||||||
def calculate_data(self,data_filter=None,skip=None):
|
def calculate_data(self,data_filter=None):
|
||||||
|
|
||||||
if data_filter:
|
if data_filter:
|
||||||
self.data_filter = data_filter
|
self.data_filter = data_filter
|
||||||
@ -146,10 +146,6 @@ class PeopleModel(gtk.GenericTreeModel):
|
|||||||
else:
|
else:
|
||||||
keys = self.db.get_person_handles(sort_handles=False)
|
keys = self.db.get_person_handles(sort_handles=False)
|
||||||
|
|
||||||
flist = set(keys)
|
|
||||||
if skip and skip in flist:
|
|
||||||
flist.remove(skip)
|
|
||||||
|
|
||||||
self.sortnames = {}
|
self.sortnames = {}
|
||||||
cursor = self.db.get_person_cursor()
|
cursor = self.db.get_person_cursor()
|
||||||
node = cursor.next()
|
node = cursor.next()
|
||||||
|
Loading…
Reference in New Issue
Block a user