Switch to BuddyActivityView to show current activity

This commit is contained in:
Dan Williams
2006-09-24 23:15:53 -04:00
parent da221ee84e
commit 3e4c8cabc7
2 changed files with 107 additions and 2 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import goocanvas
from view.home.IconLayout import IconLayout
from view.home.MyIcon import MyIcon
from view.BuddyIcon import BuddyIcon
from view.BuddyActivityView import BuddyActivityView
class FriendsGroup(goocanvas.Group):
def __init__(self, shell, menu_shell):
@@ -29,7 +29,7 @@ class FriendsGroup(goocanvas.Group):
friends.connect('friend-removed', self._friend_removed_cb)
def add_friend(self, buddy_info):
icon = BuddyIcon(self._shell, self._menu_shell, buddy_info)
icon = BuddyActivityView(self._shell, self._menu_shell, buddy_info)
self.add_child(icon)
self._icon_layout.add_icon(icon)