Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2007-10-04 20:46:14 (GMT)
committer Simon Schampijer <simon@schampijer.de>2007-10-04 20:46:14 (GMT)
commit5ca3b9081a32cc9e947700107ee26ccce06ede88 (patch)
tree438abeb950207a0daaa89e3a0f558cd498fe3246
parent380f3a2275002cfeea905c2478dcf19cc674f1ba (diff)
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.
-rw-r--r--shell/view/home/MeshBox.py8
1 files changed, 4 insertions, 4 deletions
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() ]