fix search status bar message

svn: r6608
This commit is contained in:
Don Allingham 2006-05-10 17:34:54 +00:00
parent 707c4207a9
commit c64bbd2183
2 changed files with 5 additions and 4 deletions

View File

@ -3,8 +3,9 @@
* src/PeopleModel.py: use SearchFilter
* src/DisplayModels.py: handle search filter
* src/PageView.py: search bar support
* src/Filters/_SearchBar.py: added
* src/Filters/_SearchFilter.py: remove SearchFilter to separate file
* src/Filters/_SearchBar.py: remove SearchFilter to separate file,
fix status bar message
* src/Filters/_SearchFilter.py: added
* src/Filters/__init__.py: added SearchBar
2006-05-10 Alex Roitman <shura@gramps-project.org>

View File

@ -78,11 +78,11 @@ class SearchBar:
def key_press(self, obj, event):
if event.keyval == _RETURN and not event.state:
self.on_apply_callback()
self.apply_filter()
return False
def apply_filter_clicked(self, obj):
self.on_apply_callback()
self.apply_filter()
def get_value(self):
text = self.filter_text.get_text().strip()