From 219139e42996b26a001728406825d87fbdba6e0d Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Wed, 3 May 2006 18:48:07 +0000 Subject: convert to new style --- lib/python/Components/DiskInfo.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/python/Components/DiskInfo.py') 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 -- cgit v1.2.3