retry the waiting message
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 3 Jan 2006 12:57:23 +0000 (12:57 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 3 Jan 2006 12:57:23 +0000 (12:57 +0000)
lib/python/Components/MovieList.py
lib/python/Screens/MovieSelection.py

index b31f7ff577d685688df97405f7e2ef17b74300df..ff047225ecdf4e9880c30a290c7465ebd157583d 100644 (file)
@@ -63,7 +63,7 @@ class MovieList(HTMLComponent, GUIComponent):
                        self.reload(root)
                self.l.setFont(0, gFont("Regular", 30))
                self.l.setFont(1, gFont("Regular", 18))
-
+               
        def moveToIndex(self, index):
                self.instance.moveSelectionTo(index)
 
index 9e1879ceba9b8c52cd98b43582d61089662a081b..30f8d408d6e9802804ed2aef3d3304bd7c95f084 100644 (file)
@@ -70,7 +70,6 @@ class MovieSelection(Screen):
                
                self.delayTimer = eTimer()
                self.delayTimer.timeout.get().append(self.updateHDDData)
-               self.delayTimer.start(0, 1)
                
                self["waitingtext"] = Label(_("Please wait... Loading list..."))
                
@@ -87,6 +86,10 @@ class MovieSelection(Screen):
                                "contextMenu": self.doContext,
                        })
                self["actions"].csel = self
+               self.onShown.append(self.go)
+               
+       def go(self):
+               self.delayTimer.start(0, 1)
 
        def updateHDDData(self):
                self["list"].reload(eServiceReference("2:0:1:0:0:0:0:0:0:0:" + resolveFilename(SCOPE_HDD)))