* src/DisplayModels/_BaseModel.py: add self.db to match function
2008-01-09 Gary Burton <gary.burton@zen.co.uk> svn: r9769
This commit is contained in:
parent
1d8b604c7c
commit
de7c632edb
@ -1,3 +1,6 @@
|
|||||||
|
2008-01-09 Gary Burton <gary.burton@zen.co.uk>
|
||||||
|
* src/DisplayModels/_BaseModel.py: add self.db to match function
|
||||||
|
|
||||||
2008-01-09 Gary Burton <gary.burton@zen.co.uk>
|
2008-01-09 Gary Burton <gary.burton@zen.co.uk>
|
||||||
* src/DataViews/__init__.py: remove message regarding malformed dataviews
|
* src/DataViews/__init__.py: remove message regarding malformed dataviews
|
||||||
|
|
||||||
|
@ -260,7 +260,8 @@ class BaseModel(gtk.GenericTreeModel):
|
|||||||
self.node_map.clear_map()
|
self.node_map.clear_map()
|
||||||
|
|
||||||
def add_row_by_handle(self,handle):
|
def add_row_by_handle(self,handle):
|
||||||
if not self.search or (self.search and self.search.match(handle)):
|
if not self.search or \
|
||||||
|
(self.search and self.search.match(handle, self.db)):
|
||||||
|
|
||||||
data = self.map(handle)
|
data = self.map(handle)
|
||||||
key = locale.strxfrm(self.sort_func(data))
|
key = locale.strxfrm(self.sort_func(data))
|
||||||
|
Loading…
Reference in New Issue
Block a user