From 64e44eef78c26d1d6d5a1662ad1d105fb96e9061 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Tue, 6 Dec 2005 18:35:55 +0000 Subject: factorize the conditionalPixmap --- lib/python/Components/BlinkingPixmap.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/python/Components/BlinkingPixmap.py') diff --git a/lib/python/Components/BlinkingPixmap.py b/lib/python/Components/BlinkingPixmap.py index b19bdc5d..c1b4262f 100644 --- a/lib/python/Components/BlinkingPixmap.py +++ b/lib/python/Components/BlinkingPixmap.py @@ -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): -- cgit v1.2.3