The icons (AP and MeshDevice) in the mesh view do not blink anymore when activated.

The circle will change from purple to white when done.
This commit is contained in:
Simon Schampijer 2007-10-04 22:46:14 +02:00
parent 380f3a2275
commit 5ca3b9081a

View File

@ -135,9 +135,9 @@ class AccessPointView(PulsingIcon):
elif self._model.props.state == accesspointmodel.STATE_CONNECTED:
if self._disconnect_item:
self._disconnect_item.show()
self.props.pulse_time = 2.0
self.props.pulse_time = 0.0
self.props.colors = [
[ style.Color(self._device_stroke).get_svg(),
[ '#ffffff',
style.Color(self._device_fill).get_svg() ],
[ '#ffffff',
style.Color(self._device_fill).get_svg() ]
@ -221,9 +221,9 @@ class MeshDeviceView(PulsingIcon):
]
elif state == nmclient.DEVICE_STATE_ACTIVATED and chan == self.channel:
self._disconnect_item.show()
self.props.pulse_time = 1.5
self.props.pulse_time = 0.0
self.props.colors = [
[ style.Color(self._device_stroke).get_svg(),
[ '#ffffff',
style.Color(self._device_fill).get_svg() ],
[ '#ffffff',
style.Color(self._device_fill).get_svg() ]