diff options
author | simpoir <simpoir@Luyten.local> | 2009-03-15 03:21:29 (GMT) |
---|---|---|
committer | simpoir <simpoir@Luyten.local> | 2009-03-15 03:21:29 (GMT) |
commit | 567021eac56855b16bde1ea2d103becf00552e18 (patch) | |
tree | 9bce4a4012df81d0edb7e66276efaadb35493bf7 /src/sugar/tutorius/actions.py | |
parent | d8c59c1a13663ed0d09784ca2a37fcf29ceb91ec (diff) |
cleaned overlayer
Diffstat (limited to 'src/sugar/tutorius/actions.py')
-rw-r--r-- | src/sugar/tutorius/actions.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sugar/tutorius/actions.py b/src/sugar/tutorius/actions.py index 7ecf86b..915b11b 100644 --- a/src/sugar/tutorius/actions.py +++ b/src/sugar/tutorius/actions.py @@ -19,6 +19,7 @@ This module defines Actions that can be done and undone on a state from sugar.tutorius import gtkutils from dialog import TutoriusDialog +from sugar.tutorius.services import ObjectStore import overlayer @@ -125,11 +126,11 @@ class BubbleMessage(Action): Show the dialog """ # get or inject overlayer - self.overlay = gtkutils.activity()._overlayer #FIXME:handle subwin + self.overlay = ObjectStore().activity._overlayer #FIXME:handle subwin if not self._bubble: x, y = self.position - self._bubble = overlayer.TextBubble(text=self._message, tailpos=self._tailpos) #TODO: add tail + self._bubble = overlayer.TextBubble(text=self._message, tailpos=self._tailpos) #TODO: add tail handling self._bubble.show() self.overlay.put(self._bubble, x, y) self.overlay.queue_draw() |