* src/DataViews/_PersonView.py: search bar implementation

* src/PeopleModel.py: search bar implementation
	* src/PageView.py: search bar implementation
	* src/Filters/_SearchBar.py: search bar functionality
	* src/Filters/__init__.py: search bar functionality


svn: r6603
This commit is contained in:
Don Allingham
2006-05-10 04:02:45 +00:00
parent b30fc7fb24
commit 626185cff8
6 changed files with 166 additions and 27 deletions

View File

@@ -352,7 +352,8 @@ class PersonNavView(BookMarkView):
if person:
self.dbstate.change_active_person(person)
else:
self.uistate.push_message(_("Error: %s is not a valid GRAMPS ID") % gid)
self.uistate.push_message(
_("Error: %s is not a valid GRAMPS ID") % gid)
dialog.destroy()
def fwd_clicked(self,obj,step=1):
@@ -364,7 +365,6 @@ class PersonNavView(BookMarkView):
self.dbstate.change_active_handle(handle)
self.uistate.modify_statusbar()
hobj.mhistory.append(hobj.history[hobj.index])
#self.redraw_histmenu()
self.fwd_action.set_sensitive(not hobj.at_end())
self.back_action.set_sensitive(True)
except:
@@ -404,7 +404,6 @@ class PersonNavView(BookMarkView):
hobj = self.uistate.phistory
if handle and not hobj.lock:
hobj.push(handle)
#self.redraw_histmenu()
self.fwd_action.set_sensitive(not hobj.at_end())
self.back_action.set_sensitive(not hobj.at_front())