diff options
author | Eduardo Silva <edsiper@monotop.(none)> | 2007-07-06 14:51:18 (GMT) |
---|---|---|
committer | Eduardo Silva <edsiper@monotop.(none)> | 2007-07-06 14:51:18 (GMT) |
commit | ec929eb0ad5bb740f0eb5436ebc7a9e15a55f517 (patch) | |
tree | ea3b386e8c1249ada85a712e7c2e3463f687ad01 /shell | |
parent | 739dbafa97525f3a92425fbaf0033d2d58a0a260 (diff) |
New frameinvoker
Diffstat (limited to 'shell')
-rw-r--r-- | shell/view/frame/ActivitiesBox.py | 2 | ||||
-rw-r--r-- | shell/view/frame/Makefile.am | 1 | ||||
-rw-r--r-- | shell/view/frame/frame.py | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/shell/view/frame/ActivitiesBox.py b/shell/view/frame/ActivitiesBox.py index 034ccab..8cd4e87 100644 --- a/shell/view/frame/ActivitiesBox.py +++ b/shell/view/frame/ActivitiesBox.py @@ -24,12 +24,14 @@ from sugar.graphics.iconbutton import IconButton from sugar import profile from model import bundleregistry +from frameinvoker import FrameCanvasInvoker class ActivityButton(IconButton): def __init__(self, activity): IconButton.__init__(self, icon_name=activity.get_icon()) palette = Palette(activity.get_name()) + palette.props.invoker = FrameCanvasInvoker(self) palette.set_group_id('frame') self.set_palette(palette) diff --git a/shell/view/frame/Makefile.am b/shell/view/frame/Makefile.am index 09ab303..ff2bff3 100644 --- a/shell/view/frame/Makefile.am +++ b/shell/view/frame/Makefile.am @@ -4,6 +4,7 @@ sugar_PYTHON = \ ActivitiesBox.py \ clipboardbox.py \ clipboardpanelwindow.py \ + frameinvoker.py \ FriendsBox.py \ eventarea.py \ frame.py \ diff --git a/shell/view/frame/frame.py b/shell/view/frame/frame.py index 3f3367b..5210f57 100644 --- a/shell/view/frame/frame.py +++ b/shell/view/frame/frame.py @@ -336,3 +336,4 @@ class Frame(object): def notify_key_release(self): self._key_listener.key_release() + |