X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/8138d67d47307c7e438166b9c9cac5992e4929a5..8dfa670adff5299752bcb5a42aff4ae91179ee22:/lib/python/Components/BlinkingPixmap.py diff --git a/lib/python/Components/BlinkingPixmap.py b/lib/python/Components/BlinkingPixmap.py index 45b8a06b..c1b4262f 100644 --- a/lib/python/Components/BlinkingPixmap.py +++ b/lib/python/Components/BlinkingPixmap.py @@ -8,7 +8,7 @@ class BlinkingPixmap(Pixmap): def __init__(self): Pixmap.__init__(self) - self.blinking = False + self.blinking = True self.setBlinkTime(500) @@ -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):