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-02-20 10:48:03 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-02-20 10:48:03 (GMT)
commite0dd1f52322090687410cc20a4255a8eb00f8928 (patch)
tree6a3b86d69d2f484b891320bd76ba9227e6234f5d /shell/view/devices/battery.py
parente24193c5511ac236c1f3014debf797d07f56dae2 (diff)
Infrastructure for the home page devices
Diffstat (limited to 'shell/view/devices/battery.py')
-rw-r--r--shell/view/devices/battery.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/view/devices/battery.py b/shell/view/devices/battery.py
new file mode 100644
index 0000000..149e9b2
--- /dev/null
+++ b/shell/view/devices/battery.py
@@ -0,0 +1,6 @@
+from view.devices import deviceview
+
+class DeviceView(deviceview.DeviceView)
+ def __init__(self, model):
+ deviceview.DeviceView.__init__(self, model)
+ self.props.icon_name = 'theme:stock-close'