From abd961024accfc54ffea8a36999417b44861c52b Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Tue, 3 Jan 2006 12:19:14 +0000 Subject: display "please wait" message in movieselection while hdd spins up --- lib/python/Components/DiskInfo.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/python/Components/DiskInfo.py') 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: -- cgit v1.2.3