From 5ca3b9081a32cc9e947700107ee26ccce06ede88 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Thu, 4 Oct 2007 22:46:14 +0200 Subject: [PATCH] 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. --- shell/view/home/MeshBox.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shell/view/home/MeshBox.py b/shell/view/home/MeshBox.py index 0567d767..fa514874 100644 --- a/shell/view/home/MeshBox.py +++ b/shell/view/home/MeshBox.py @@ -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() ]