trivial fixed to fast models

svn: r5873
This commit is contained in:
Richard Taylor 2006-02-03 15:53:20 +00:00
parent 7ef194d5ee
commit f1bcee445f
2 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ class PersonTreeView(gtk.TreeView):
self.set_model(PersonFilterModel(self._db,apply_filter)) self.set_model(PersonFilterModel(self._db,apply_filter))
def clear_filter(self): def clear_filter(self):
self.set_model(PersonModel(self._db)) self.set_model(PersonTreeModel(self._db))
# Accessor methods for the columns # Accessor methods for the columns

View File

@ -3,9 +3,9 @@ import gtk
import gobject import gobject
import sys, os import sys, os
sys.path.append("..") sys.path.append("../src")
from Models import PersonModel,PersonFilterModel #from Models import PersonModel,PersonFilterModel
from TreeViews import PersonTreeView from TreeViews import PersonTreeView
import GenericFilter import GenericFilter