git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add (simple) shadow for eLabel
[enigma2.git]
/
lib
/
python
/
Components
/
DiskInfo.py
diff --git
a/lib/python/Components/DiskInfo.py
b/lib/python/Components/DiskInfo.py
index be1521cf304fa3a92ca20b289b1b763d8e8f16dd..1278ff990de10225ca284815041d1dd3656f6556 100644
(file)
--- 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