From 5e503f77d12baee7c8d97e4641d982da1c77c0ac Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 16 Oct 2006 16:43:04 +0000 Subject: Get the tray icon to sort of work. --- (limited to 'shell') 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) -- cgit v0.9.1