fix search status bar message
svn: r6608
This commit is contained in:
parent
707c4207a9
commit
c64bbd2183
@ -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>
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user