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:
parent
0b8c0c202e
commit
2659ba6bb4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user