diff options
Diffstat (limited to 'shell/view/frame/Frame.py')
-rw-r--r-- | shell/view/frame/Frame.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shell/view/frame/Frame.py b/shell/view/frame/Frame.py index 80fb4d1..fd3c11e 100644 --- a/shell/view/frame/Frame.py +++ b/shell/view/frame/Frame.py @@ -25,6 +25,7 @@ from view.frame.overlaybox import OverlayBox from view.frame.FriendsBox import FriendsBox from view.frame.PanelWindow import PanelWindow from view.frame.notificationtray import NotificationTray +from view.frame.shutdownicon import ShutdownIcon from sugar.graphics.timeline import Timeline from sugar.graphics.grid import Grid from sugar.graphics.menushell import MenuShell @@ -180,6 +181,12 @@ class Frame: root.append(box, hippo.PACK_FIXED) root.move(box, x, y) + shutdown_icon = ShutdownIcon(menu_shell) + + [x, y] = grid.point(12, 0) + root.append(shutdown_icon, hippo.PACK_FIXED) + root.move(shutdown_icon, x, y) + # Bottom panel [menu_shell, root] = self._create_panel(grid, 0, 11, 16, 1) menu_shell.set_position(MenuShell.TOP) |