aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/DiskInfo.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-05-03 18:48:07 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-05-03 18:48:07 +0000
commit219139e42996b26a001728406825d87fbdba6e0d (patch)
tree967b76ab3ca7dc64bc568e7abb1d5662614dca6f /lib/python/Components/DiskInfo.py
parenteae95626ac53508523f008c1724c954238cf1e08 (diff)
downloadenigma2-219139e42996b26a001728406825d87fbdba6e0d.tar.gz
enigma2-219139e42996b26a001728406825d87fbdba6e0d.zip
convert to new style
Diffstat (limited to 'lib/python/Components/DiskInfo.py')
-rw-r--r--lib/python/Components/DiskInfo.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/python/Components/DiskInfo.py b/lib/python/Components/DiskInfo.py
index be1521cf..1278ff99 100644
--- a/lib/python/Components/DiskInfo.py
+++ b/lib/python/Components/DiskInfo.py
@@ -29,5 +29,4 @@ class DiskInfo(VariableText, GUIComponent):
free = stat.f_bfree / 1000 * stat.f_bsize / 1000
self.setText(("%dMB " + _("free diskspace")) % (free))
- def createWidget(self, parent):
- return eLabel(parent)
+ GUI_WIDGET = eLabel