Add tooltips to APs in the mesh view.

This commit is contained in:
Tomeu Vizoso 2007-07-02 19:34:03 +02:00
parent c314368da5
commit fdc97518f7

View File

@ -79,7 +79,10 @@ class AccessPointView(PulsingIcon):
network_manager.set_active_device(device, network) network_manager.set_active_device(device, network)
def _update_name(self): def _update_name(self):
self.props.tooltip = self._model.props.name if self.palette:
self.palette.set_primary_text(self._model.props.name)
else:
self.set_tooltip(self._model.props.name)
def _update_icon(self): def _update_icon(self):
icon_name = canvasicon.get_icon_state( icon_name = canvasicon.get_icon_state(