Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/devices/battery.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-08-26 12:16:09 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-08-26 12:16:09 (GMT)
commit98157bbccb3756a7c45bd29df9eae284d23a0290 (patch)
tree14954a4fcba3fe581850425913d3748eef7d4d85 /shell/view/devices/battery.py
parentf44c340b3a3d38dac49d50a8fa3a55871a973670 (diff)
Make CanvasIcon use IconBuffer. Change the API to use
a separate property for icon_name and file_name.
Diffstat (limited to 'shell/view/devices/battery.py')
-rw-r--r--shell/view/devices/battery.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/view/devices/battery.py b/shell/view/devices/battery.py
index 4ac3c17..ec971a5 100644
--- a/shell/view/devices/battery.py
+++ b/shell/view/devices/battery.py
@@ -47,7 +47,7 @@ class DeviceView(CanvasIcon):
# Update palette
if self._model.props.charging:
status = _STATUS_CHARGING
- self.props.badge_name = 'theme:badge-charging'
+ self.props.badge_name = 'badge-charging'
elif self._model.props.discharging:
status = _STATUS_DISCHARGING
self.props.badge_name = None