From 207669f2341554b6dcbfa360239ec68d830ab5ff Mon Sep 17 00:00:00 2001 From: Richard Taylor Date: Fri, 3 Feb 2006 15:53:20 +0000 Subject: [PATCH] trivial fixed to fast models svn: r5873 --- src/TreeViews/_PersonTreeView.py | 2 +- test/try_tree_model.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/TreeViews/_PersonTreeView.py b/src/TreeViews/_PersonTreeView.py index b9fc73714..fa0068293 100644 --- a/src/TreeViews/_PersonTreeView.py +++ b/src/TreeViews/_PersonTreeView.py @@ -56,7 +56,7 @@ class PersonTreeView(gtk.TreeView): self.set_model(PersonFilterModel(self._db,apply_filter)) def clear_filter(self): - self.set_model(PersonModel(self._db)) + self.set_model(PersonTreeModel(self._db)) # Accessor methods for the columns diff --git a/test/try_tree_model.py b/test/try_tree_model.py index e7126042c..64321c6d9 100644 --- a/test/try_tree_model.py +++ b/test/try_tree_model.py @@ -3,9 +3,9 @@ import gtk import gobject import sys, os -sys.path.append("..") +sys.path.append("../src") -from Models import PersonModel,PersonFilterModel +#from Models import PersonModel,PersonFilterModel from TreeViews import PersonTreeView import GenericFilter