* src/ViewManager.py: fix default state of filter menu item

svn: r7018
This commit is contained in:
Don Allingham 2006-07-12 03:15:26 +00:00
parent a1b1138569
commit 78a01a2503
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2006-07-11 Don Allingham <don@gramps-project.org> 2006-07-11 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: fix default state of filter menu item
* src/DataViews/_FamilyList.py: clean up * src/DataViews/_FamilyList.py: clean up
* src/DataViews/_PedigreeView.py: clean up * src/DataViews/_PedigreeView.py: clean up
* src/DataViews/_MapView.py: clean up * src/DataViews/_MapView.py: clean up

View File

@ -221,6 +221,7 @@ class ViewManager:
self.show_sidebar = Config.get(Config.VIEW) self.show_sidebar = Config.get(Config.VIEW)
self.show_toolbar = Config.get(Config.TOOLBAR_ON) self.show_toolbar = Config.get(Config.TOOLBAR_ON)
self.show_filter = Config.get(Config.FILTER)
self.notebook = gtk.Notebook() self.notebook = gtk.Notebook()
self.notebook.set_show_tabs(False) self.notebook.set_show_tabs(False)
@ -376,7 +377,7 @@ class ViewManager:
('Toolbar', None, _('_Toolbar'), None, None, self.toolbar_toggle, ('Toolbar', None, _('_Toolbar'), None, None, self.toolbar_toggle,
self.show_toolbar ), self.show_toolbar ),
('Filter', None, _('_Filter sidebar'), None, None, self.filter_toggle, ('Filter', None, _('_Filter sidebar'), None, None, self.filter_toggle,
self.show_toolbar ), self.show_filter),
] ]
self._undo_action_list = [ self._undo_action_list = [