factorize the conditionalPixmap
[enigma2.git] / lib / python / Components / BlinkingPixmap.py
index b19bdc5d92a41d8c119fb4e6987091e93e5ee89a..c1b4262ff166a90e60dcde58a6c9db5ae17e13e6 100644 (file)
@@ -21,9 +21,9 @@ class BlinkingPixmap(Pixmap):
        def blink(self):
                if self.blinking == True:
                        if (self.state == self.SHOWN):
-                               self.hidePixmap()
+                               self.hideWidget()
                        elif (self.state == self.HIDDEN):
-                               self.showPixmap()
+                               self.showWidget()
                        
        def startBlinking(self):
                self.blinking = True
@@ -32,7 +32,7 @@ class BlinkingPixmap(Pixmap):
        def stopBlinking(self):
                self.blinking = False
                if (self.state == self.SHOWN):
-                       self.hidePixmap()
+                       self.hideWidget()
                self.timer.stop()
                
 class BlinkingPixmapConditional(BlinkingPixmap, PixmapConditional):