fails, recalculate data, fix initial display of sidebar

* src/ViewManager.py: handle post page creation initalization
	* src/PageView.py: handle post page creation initalization


svn: r6929
This commit is contained in:
Don Allingham
2006-06-21 02:43:19 +00:00
parent ead9d7c761
commit bba20d60c2
4 changed files with 15 additions and 2 deletions

View File

@@ -277,9 +277,16 @@ class PersonView(PageView.PersonNavView):
hpaned.pack_start(self.vbox, True, True)
hpaned.pack_end(self.filter_pane, False, False)
return hpaned
def post(self):
if Config.get(Config.FILTER):
self.search_bar.hide()
self.filter_pane.show()
else:
self.search_bar.show()
self.filter_pane.hide()
def filter_clicked(self):
self.generic_filter = self.filter_sidebar.get_filter()
self.build_tree()