[gnome-shell] power: Fix typo
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] power: Fix typo
- Date: Thu, 17 Oct 2013 16:12:27 +0000 (UTC)
commit 2659ba6bb4669abdfa2efe69c3ab2dfea7d0eac6
Author: Bastien Nocera <hadess hadess net>
Date: Thu Oct 17 18:11:06 2013 +0200
power: Fix typo
JS ERROR: ReferenceError: this_proxy is not defined
Indicator<._getStatus@/usr/share/gnome-shell/js/ui/status/power.js:66
js/ui/status/power.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/status/power.js b/js/ui/status/power.js
index eda8c01..69a8d20 100644
--- a/js/ui/status/power.js
+++ b/js/ui/status/power.js
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]