diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-09-02 23:48:03 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-09-02 23:48:03 (GMT) |
commit | a09a786ff7a2ccc5657ac2708e048a183c90360c (patch) | |
tree | 7983a9438b6e31b96e44b28032156b5b00be87bc /shell/view/frame/frame.py | |
parent | 8a2cb49ffba017f1a7fc1ed138bfb9c58e7b70c7 (diff) |
Use Tray also for the frame friends view.
Drop the deprecated IconButton.
Diffstat (limited to 'shell/view/frame/frame.py')
-rw-r--r-- | shell/view/frame/frame.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/shell/view/frame/frame.py b/shell/view/frame/frame.py index 1ce10ed..2784835 100644 --- a/shell/view/frame/frame.py +++ b/shell/view/frame/frame.py @@ -29,7 +29,7 @@ from view.frame.eventarea import EventArea from view.frame.ActivitiesBox import ActivitiesBox from view.frame.zoomtoolbar import ZoomToolbar from view.frame.overlaybox import OverlayBox -from view.frame.FriendsBox import FriendsBox +from view.frame.friendstray import FriendsTray from view.frame.framewindow import FrameWindow from view.frame.clipboardpanelwindow import ClipboardPanelWindow from model.shellmodel import ShellModel @@ -227,8 +227,9 @@ class Frame(object): def _create_right_panel(self): panel = self._create_panel(gtk.POS_RIGHT) - box = FriendsBox(self._shell) - panel.append(box) + tray = FriendsTray(self._shell) + panel.append(hippo.CanvasWidget(widget=tray), hippo.PACK_EXPAND) + tray.show() return panel |