[gnome-shell/wip/aggregate-menu: 55/55] power: Fix the fallback icon for devices without a battery
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/aggregate-menu: 55/55] power: Fix the fallback icon for devices without a battery
- Date: Fri, 2 Aug 2013 11:32:55 +0000 (UTC)
commit 51594000e6deb27d3120983af8ae40fbb72f1bca
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Aug 2 07:30:54 2013 -0400
power: Fix the fallback icon for devices without a battery
This was of the wrong type.
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 59911d7..534f7e4 100644
--- a/js/ui/status/power.js
+++ b/js/ui/status/power.js
@@ -112,7 +112,7 @@ const Indicator = new Lang.Class({
this._item.icon.gicon = gicon;
} else {
// If there's no battery, then we use the power icon.
- this._indicator.gicon = 'system-shutdown-symbolic';
+ this._indicator.icon_name = 'system-shutdown-symbolic';
}
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]