Fix for exponential cost on treeviews; whitespace cleanup

This commit is contained in:
Doug Blank 2015-08-21 09:45:59 -04:00
parent e5d6be61f8
commit a93872a0f3

View File

@ -596,7 +596,7 @@ class TreeBaseModel(GObject.GObject, Gtk.TreeModel, BaseModel):
handle = handle.decode('utf-8') handle = handle.decode('utf-8')
status_ppl.heartbeat() status_ppl.heartbeat()
if not handle in skip: if not handle in skip:
if not dfilter or dfilter.apply(self.db, [handle]): if not dfilter or dfilter.match(handle, self.db):
add_func(handle, data) add_func(handle, data)
self.__displayed += 1 self.__displayed += 1
status_ppl.end() status_ppl.end()