From 5c11bc6f099cf5a787bde7f29cbe8277e170a57d Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Tue, 2 Mar 2010 11:56:38 +0000 Subject: [PATCH] GeoView : bug 3517 : filter in menu svn: r14578 --- src/plugins/view/geoview.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/plugins/view/geoview.py b/src/plugins/view/geoview.py index 3cedf54bf..51c63b15e 100644 --- a/src/plugins/view/geoview.py +++ b/src/plugins/view/geoview.py @@ -1025,6 +1025,7 @@ class GeoView(HtmlView): + @@ -1092,9 +1093,8 @@ class GeoView(HtmlView): self._add_action('EventMapsMenu', 'geo-show-event', _('_Event'), callback=self._event_places, tip=_("Attempt to view places connected to all events.")) - self._add_toggle_action('Filter', None, _('_Filter Sidebar'), - callback=self.filter_toggle_action, - value=config.get('interface.filter')) + self._add_toggle_action('FilterEdit', None, _('_Filter Sidebar'), + callback=self.filter_toggle_action) config.connect('interface.filter', self.filter_toggle) def go_back(self, button): # pylint: disable-msg=W0613 @@ -2252,7 +2252,6 @@ class GeoView(HtmlView): self.filter.hide() active = False config.set('interface.filter', active) - self.build_tree() def filter_clicked(self): """