Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEben Eliason <eben@localhost.localdomain>2008-03-19 15:13:44 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2008-04-02 12:24:54 (GMT)
commitb085c789ef42d7654bacad975ca023a43a8d61f1 (patch)
tree5ece0609e5fed31eb32fa7db16032a131597969f /src
parentd129582f9ed36a6a2d0de9a9c2aee7cb6195f5f0 (diff)
Always display self in people tray in Frame
As we are always a participant of our current activities, we should always appear within the participants list. Ideally, this list and our position in it would indicate the order in which participants joined.
Diffstat (limited to 'src')
-rw-r--r--src/view/frame/friendstray.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/frame/friendstray.py b/src/view/frame/friendstray.py
index b34f357..3e94fdb 100644
--- a/src/view/frame/friendstray.py
+++ b/src/view/frame/friendstray.py
@@ -103,6 +103,9 @@ class FriendsTray(VTray):
self._activity_ps = activity_ps
self.clear()
+
+ #always display ourselves
+ self.add_buddy(self._owner)
if shared_activity is True:
for buddy in activity_ps.get_joined_buddies():
@@ -112,9 +115,6 @@ class FriendsTray(VTray):
'buddy-joined', self.__buddy_joined_cb)
self._left_hid = activity_ps.connect(
'buddy-left', self.__buddy_left_cb)
- else:
- # only display myself if not shared
- self.add_buddy(self._owner)
def _pending_activity_changed_cb(self, home_model, home_activity):
if home_activity is None: