Fix battery var II, thanks to RWH

This commit is contained in:
Eduardo Silva 2007-07-06 16:41:14 -04:00
parent 52fff021d0
commit 6ee5fca9f9

View File

@ -45,7 +45,7 @@ class DeviceView(canvasicon.CanvasIcon):
# Update palette # Update palette
if self._model.props.charging: if self._model.props.charging:
status = _STATUS_CHARING status = _STATUS_CHARGING
elif self._model.props.discharging: elif self._model.props.discharging:
status = _STATUS_DISCHARGING status = _STATUS_DISCHARGING
else: else: