dont use onShown .. use onLayoutFinish for hide dish icon
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 8 Feb 2006 19:17:21 +0000 (19:17 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 8 Feb 2006 19:17:21 +0000 (19:17 +0000)
lib/python/Screens/InfoBarGenerics.py

index 1824eb5..1a8f88b 100644 (file)
@@ -41,7 +41,7 @@ from Menu import MainMenu, mdom
 class InfoBarDish:
        def __init__(self):
                self.dishDialog = self.session.instantiateDialog(Dish)
-               self.onShown.append(self.dishDialog.show)
+               self.onLayoutFinish.append(self.dishDialog.show)
 
 class InfoBarShowHide:
        """ InfoBar show/hide control, accepts toggleShow and hide actions, might start