aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/DiskInfo.py
diff options
context:
space:
mode:
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