power: Fix typo

JS ERROR: ReferenceError: this_proxy is not defined
Indicator<._getStatus@/usr/share/gnome-shell/js/ui/status/power.js:66
This commit is contained in:
Bastien Nocera 2013-10-17 18:11:06 +02:00
parent 0b8c0c202e
commit 2659ba6bb4

View File

@ -63,7 +63,7 @@ const Indicator = new Lang.Class({
return _("Fully Charged");
else if (this._proxy.State == UPower.DeviceState.CHARGING)
seconds = this._proxy.TimeToFull;
else if (this_proxy.State == UPower.DeviceState.DISCHARGING)
else if (this._proxy.State == UPower.DeviceState.DISCHARGING)
seconds = this._proxy.TimeToEmpty;
// state is one of PENDING_CHARGING, PENDING_DISCHARGING
else