GeoView : synchronization with 3.2 : bad word and bug 3517.
svn: r14586
This commit is contained in:
parent
53a2dfe026
commit
d632f8a0c9
@ -640,7 +640,7 @@ class GeoView(HtmlView):
|
|||||||
"""
|
"""
|
||||||
prefix = widget.get_text().lower()
|
prefix = widget.get_text().lower()
|
||||||
count = 0
|
count = 0
|
||||||
found = "inconnu"
|
found = _("Unknown")
|
||||||
if event.keyval == KEY_TAB:
|
if event.keyval == KEY_TAB:
|
||||||
for place in self.plist:
|
for place in self.plist:
|
||||||
if prefix in place[0].lower():
|
if prefix in place[0].lower():
|
||||||
@ -1025,6 +1025,7 @@ class GeoView(HtmlView):
|
|||||||
<separator/>
|
<separator/>
|
||||||
<menuitem action="AddPlaceMenu"/>
|
<menuitem action="AddPlaceMenu"/>
|
||||||
<menuitem action="LinkPlaceMenu"/>
|
<menuitem action="LinkPlaceMenu"/>
|
||||||
|
<menuitem action="FilterEdit"/>
|
||||||
</menu>
|
</menu>
|
||||||
</menubar>
|
</menubar>
|
||||||
<toolbar name="ToolBar">
|
<toolbar name="ToolBar">
|
||||||
@ -1092,9 +1093,8 @@ class GeoView(HtmlView):
|
|||||||
self._add_action('EventMapsMenu', 'geo-show-event', _('_Event'),
|
self._add_action('EventMapsMenu', 'geo-show-event', _('_Event'),
|
||||||
callback=self._event_places,
|
callback=self._event_places,
|
||||||
tip=_("Attempt to view places connected to all events."))
|
tip=_("Attempt to view places connected to all events."))
|
||||||
self._add_toggle_action('Filter', None, _('_Filter Sidebar'),
|
self._add_toggle_action('FilterEdit', None, _('_Filter Sidebar'),
|
||||||
callback=self.filter_toggle_action,
|
callback=self.filter_toggle_action)
|
||||||
value=config.get('interface.filter'))
|
|
||||||
config.connect('interface.filter', self.filter_toggle)
|
config.connect('interface.filter', self.filter_toggle)
|
||||||
|
|
||||||
def go_back(self, button): # pylint: disable-msg=W0613
|
def go_back(self, button): # pylint: disable-msg=W0613
|
||||||
|
Loading…
x
Reference in New Issue
Block a user