From 3ff6fe0b1fa94e3d5c5a6623c15d67ce3733ffd8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
Date: Mon, 15 Oct 2012 10:42:11 -0300
Subject: [PATCH shell 2/2] Port EventPulsingIcon from EventIcon to CanvasIcon
- SL #3989
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
I was wrong skipping them from 7a2fbf62 . They are used for the AP
icons in the neighborhood view, not for the pulsing icon in the
activities startup.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
---
src/jarabe/view/pulsingicon.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/jarabe/view/pulsingicon.py b/src/jarabe/view/pulsingicon.py
index 33f2c80..81e2e03 100644
a
|
b
|
from gi.repository import GObject |
20 | 20 | |
21 | 21 | from sugar3.graphics.icon import Icon |
22 | 22 | from sugar3.graphics import style |
23 | | from sugar3.graphics.icon import EventIcon |
| 23 | from sugar3.graphics.icon import CanvasIcon |
24 | 24 | |
25 | 25 | |
26 | 26 | _INTERVAL = 100 |
… |
… |
class PulsingIcon(Icon): |
171 | 171 | self._palette.destroy() |
172 | 172 | |
173 | 173 | |
174 | | class EventPulsingIcon(EventIcon): |
| 174 | class EventPulsingIcon(CanvasIcon): |
175 | 175 | __gtype_name__ = 'SugarEventPulsingIcon' |
176 | 176 | |
177 | 177 | def __init__(self, **kwargs): |
… |
… |
class EventPulsingIcon(EventIcon): |
181 | 181 | self._paused = False |
182 | 182 | self._pulsing = False |
183 | 183 | |
184 | | EventIcon.__init__(self, **kwargs) |
| 184 | CanvasIcon.__init__(self, **kwargs) |
185 | 185 | |
186 | 186 | self.connect('destroy', self.__destroy_cb) |
187 | 187 | |