From 5ca3b9081a32cc9e947700107ee26ccce06ede88 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Thu, 04 Oct 2007 20:46:14 +0000 Subject: 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. --- diff --git a/shell/view/home/MeshBox.py b/shell/view/home/MeshBox.py index 0567d76..fa51487 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() ] -- cgit v0.9.1