diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-16 16:43:04 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-16 16:43:04 (GMT) |
commit | 5e503f77d12baee7c8d97e4641d982da1c77c0ac (patch) | |
tree | 33e6ba0d965cafc2302bbbfc5dad845957697df4 /shell | |
parent | 0d2caab8a1037fc477ba213d87794ba3c053f9a5 (diff) |
Get the tray icon to sort of work.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/view/frame/Frame.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/shell/view/frame/Frame.py b/shell/view/frame/Frame.py index dc7d9d7..03c11d7 100644 --- a/shell/view/frame/Frame.py +++ b/shell/view/frame/Frame.py @@ -23,6 +23,7 @@ from view.frame.ActivitiesBox import ActivitiesBox from view.frame.ZoomBox import ZoomBox from view.frame.FriendsBox import FriendsBox from view.frame.PanelWindow import PanelWindow +from view.frame.notificationtray import NotificationTray from sugar.graphics.timeline import Timeline from sugar.graphics.menushell import MenuShell from sugar.graphics.grid import Grid @@ -152,6 +153,15 @@ class Frame: [x, y] = grid.point(1, 0) top_panel.move(box, x, y) + tray = NotificationTray() + box = hippo.CanvasWidget() + box.props.widget = tray + + top_panel.append(box, hippo.PACK_FIXED) + + [x, y] = grid.point(5, 0) + top_panel.move(box, x, y) + bottom_panel = self._create_panel(grid, 0, 11, 16, 1) box = ActivitiesBox(self._shell) |