Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-07-02 09:39:12 (GMT)
committer Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-08-20 13:33:52 (GMT)
commit043d3b0ee739480fd6d8ca9f203937948ac483e5 (patch)
treec8b815d7610a8397558b5b0b5b844362d6810c17
parent12cd353620167a087daf50f220993997324699e1 (diff)
Emit the buddy-left signal
-rw-r--r--src/sugar/presence/activity.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sugar/presence/activity.py b/src/sugar/presence/activity.py
index ba80e84..21997d9 100644
--- a/src/sugar/presence/activity.py
+++ b/src/sugar/presence/activity.py
@@ -325,6 +325,9 @@ class Activity(gobject.GObject):
for contact_handle in added:
self.emit('buddy-joined', Buddy(self.telepathy_conn, contact_handle))
+ for contact_handle in removed:
+ self.emit('buddy-left', Buddy(self.telepathy_conn, contact_handle))
+
def join(self):
"""Join this activity.