diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-24 17:44:18 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-24 17:44:18 (GMT) |
commit | 2aa69e7199b756db60c67f6438c4ffccf2ffde35 (patch) | |
tree | f260564c2aaf8bd7a18c387bba866f69a657e4d3 /shell/view/frame/Frame.py | |
parent | 77e0d33c3d24366ba8920f12688a525313016609 (diff) |
Add the overlay icon on the frame
Diffstat (limited to 'shell/view/frame/Frame.py')
-rw-r--r-- | shell/view/frame/Frame.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/shell/view/frame/Frame.py b/shell/view/frame/Frame.py index 64c7585..80fb4d1 100644 --- a/shell/view/frame/Frame.py +++ b/shell/view/frame/Frame.py @@ -21,6 +21,7 @@ import wnck from view.frame.ActivitiesBox import ActivitiesBox from view.frame.ZoomBox import ZoomBox +from view.frame.overlaybox import OverlayBox from view.frame.FriendsBox import FriendsBox from view.frame.PanelWindow import PanelWindow from view.frame.notificationtray import NotificationTray @@ -169,10 +170,16 @@ class Frame: tray_widget.props.widget = tray tray_box.append(tray_widget, gtk.EXPAND) - [x, y] = grid.point(14, 0) + [x, y] = grid.point(13, 0) root.append(tray_box, hippo.PACK_FIXED) root.move(tray_box, x, y) + box = OverlayBox(self._shell) + + [x, y] = grid.point(14, 0) + root.append(box, hippo.PACK_FIXED) + root.move(box, x, y) + # Bottom panel [menu_shell, root] = self._create_panel(grid, 0, 11, 16, 1) menu_shell.set_position(MenuShell.TOP) |