Make Filter Sidebar consistent on Menu

svn: r14247
This commit is contained in:
Jérôme Rapinat 2010-02-06 15:27:17 +00:00
parent 7bc9fa44a5
commit b3efd702a2
2 changed files with 2 additions and 2 deletions

View File

@ -206,7 +206,7 @@ class ListView(NavigationView):
tip=self.EDIT_MSG, tip=self.EDIT_MSG,
callback=self.edit) callback=self.edit)
self._add_toggle_action('Filter', None, _('_Filter'), self._add_toggle_action('Filter', None, _('_Filter Sidebar'),
callback=self.filter_toggle_action) callback=self.filter_toggle_action)
def build_columns(self): def build_columns(self):

View File

@ -913,7 +913,7 @@ class GeoView(HtmlView):
# _("Reload the map with new style."), # _("Reload the map with new style."),
# self._gotostyle, # self._gotostyle,
# _('Select a StyleSheet')) # _('Select a StyleSheet'))
self._add_toggle_action('Filter', None, _('_Filter'), self._add_toggle_action('Filter', None, _('_Filter Sidebar'),
callback=self.filter_toggle_action, callback=self.filter_toggle_action,
value=config.get('interface.filter')) value=config.get('interface.filter'))
config.connect('interface.filter',self.filter_toggle) config.connect('interface.filter',self.filter_toggle)