Increase timeouts a bit

This commit is contained in:
Marco Pesenti Gritti 2007-03-30 01:40:05 +02:00
parent 87f1e9bcc9
commit e179dbae14

View File

@ -89,7 +89,7 @@ class AccessPointView(PulsingIcon):
def _update_state(self): def _update_state(self):
if self._model.props.state == accesspointmodel.STATE_CONNECTING: if self._model.props.state == accesspointmodel.STATE_CONNECTING:
self.props.pulse_time = 0.75 self.props.pulse_time = 1.0
self.props.colors = [ self.props.colors = [
[ color.HTMLColor(self._device_stroke), [ color.HTMLColor(self._device_stroke),
color.HTMLColor(self._device_fill) ], color.HTMLColor(self._device_fill) ],
@ -97,7 +97,7 @@ class AccessPointView(PulsingIcon):
color.HTMLColor('#e2e2e2') ] color.HTMLColor('#e2e2e2') ]
] ]
elif self._model.props.state == accesspointmodel.STATE_CONNECTED: elif self._model.props.state == accesspointmodel.STATE_CONNECTED:
self.props.pulse_time = 1.5 self.props.pulse_time = 2.0
self.props.colors = [ self.props.colors = [
[ color.HTMLColor(self._device_stroke), [ color.HTMLColor(self._device_stroke),
color.HTMLColor(self._device_fill) ], color.HTMLColor(self._device_fill) ],