diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-01-03 12:19:14 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-01-03 12:19:14 +0000 |
| commit | abd961024accfc54ffea8a36999417b44861c52b (patch) | |
| tree | e9390902263fc85109eecff386853f017807815f /lib/python/Components/DiskInfo.py | |
| parent | 8c84c2a2c0b8d33404540ab50278de63d3c7fccc (diff) | |
| download | enigma2-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.py | 5 |
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: |
