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:
parent
380f3a2275
commit
5ca3b9081a
@ -135,9 +135,9 @@ class AccessPointView(PulsingIcon):
|
|||||||
elif self._model.props.state == accesspointmodel.STATE_CONNECTED:
|
elif self._model.props.state == accesspointmodel.STATE_CONNECTED:
|
||||||
if self._disconnect_item:
|
if self._disconnect_item:
|
||||||
self._disconnect_item.show()
|
self._disconnect_item.show()
|
||||||
self.props.pulse_time = 2.0
|
self.props.pulse_time = 0.0
|
||||||
self.props.colors = [
|
self.props.colors = [
|
||||||
[ style.Color(self._device_stroke).get_svg(),
|
[ '#ffffff',
|
||||||
style.Color(self._device_fill).get_svg() ],
|
style.Color(self._device_fill).get_svg() ],
|
||||||
[ '#ffffff',
|
[ '#ffffff',
|
||||||
style.Color(self._device_fill).get_svg() ]
|
style.Color(self._device_fill).get_svg() ]
|
||||||
@ -221,9 +221,9 @@ class MeshDeviceView(PulsingIcon):
|
|||||||
]
|
]
|
||||||
elif state == nmclient.DEVICE_STATE_ACTIVATED and chan == self.channel:
|
elif state == nmclient.DEVICE_STATE_ACTIVATED and chan == self.channel:
|
||||||
self._disconnect_item.show()
|
self._disconnect_item.show()
|
||||||
self.props.pulse_time = 1.5
|
self.props.pulse_time = 0.0
|
||||||
self.props.colors = [
|
self.props.colors = [
|
||||||
[ style.Color(self._device_stroke).get_svg(),
|
[ '#ffffff',
|
||||||
style.Color(self._device_fill).get_svg() ],
|
style.Color(self._device_fill).get_svg() ],
|
||||||
[ '#ffffff',
|
[ '#ffffff',
|
||||||
style.Color(self._device_fill).get_svg() ]
|
style.Color(self._device_fill).get_svg() ]
|
||||||
|
Loading…
Reference in New Issue
Block a user