update clock directly onShow
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 6 Apr 2006 17:43:49 +0000 (17:43 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 6 Apr 2006 17:43:49 +0000 (17:43 +0000)
lib/python/Components/Clock.py

index 5d7ec8dc54a3ffb406f4e02ed72ae61b95d9e05e..9129acafc5b8d6aa69978d7d64b4c953aba05901 100644 (file)
@@ -21,7 +21,8 @@ class Clock(HTMLComponent, GUIComponent, VariableText):
                self.clockTimer = eTimer()
                self.clockTimer.timeout.get().append(self.doClock)
 
-       def onShow(self):               
+       def onShow(self):
+               self.doClock()
                self.clockTimer.start(1000)
        
        def onHide(self):