aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/DiskInfo.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-01-03 12:19:14 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-01-03 12:19:14 +0000
commitabd961024accfc54ffea8a36999417b44861c52b (patch)
treee9390902263fc85109eecff386853f017807815f /lib/python/Components/DiskInfo.py
parent8c84c2a2c0b8d33404540ab50278de63d3c7fccc (diff)
downloadenigma2-abd961024accfc54ffea8a36999417b44861c52b.tar.gz
enigma2-abd961024accfc54ffea8a36999417b44861c52b.zip
display "please wait" message in movieselection while hdd spins up
Diffstat (limited to 'lib/python/Components/DiskInfo.py')
-rw-r--r--lib/python/Components/DiskInfo.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/python/Components/DiskInfo.py b/lib/python/Components/DiskInfo.py
index 68674e99..9490a0f8 100644
--- a/lib/python/Components/DiskInfo.py
+++ b/lib/python/Components/DiskInfo.py
@@ -11,12 +11,13 @@ class DiskInfo(GUIComponent, VariableText):
USED = 1
SIZE = 2
- def __init__(self, path, type):
+ def __init__(self, path, type, update = True):
GUIComponent.__init__(self)
VariableText.__init__(self)
self.type = type
self.path = path
- self.update()
+ if update:
+ self.update()
def update(self):
try: