dont hide recording widget onShown.. use onLayoutFinish
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 8 Feb 2006 19:05:12 +0000 (19:05 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 8 Feb 2006 19:05:12 +0000 (19:05 +0000)
lib/python/Screens/InfoBarGenerics.py

index 499d972..1824eb5 100644 (file)
@@ -914,15 +914,14 @@ class InfoBarInstantRecord:
                                "instantRecord": (self.instantRecord, "Instant Record..."),
                        })
                self.recording = None
                                "instantRecord": (self.instantRecord, "Instant Record..."),
                        })
                self.recording = None
-               
                self["BlinkingPoint"] = BlinkingPixmapConditional()
                self["BlinkingPoint"] = BlinkingPixmapConditional()
-               self.onShown.append(self["BlinkingPoint"].hideWidget)
+               self.onLayoutFinish.append(self["BlinkingPoint"].hideWidget)
                self["BlinkingPoint"].setConnect(self.session.nav.RecordTimer.isRecording)
                self["BlinkingPoint"].setConnect(self.session.nav.RecordTimer.isRecording)
-               
+
        def stopCurrentRecording(self): 
                self.session.nav.RecordTimer.removeEntry(self.recording)
                self.recording = None
        def stopCurrentRecording(self): 
                self.session.nav.RecordTimer.removeEntry(self.recording)
                self.recording = None
-                       
+
        def startInstantRecording(self):
                serviceref = self.session.nav.getCurrentlyPlayingServiceReference()
                
        def startInstantRecording(self):
                serviceref = self.session.nav.getCurrentlyPlayingServiceReference()