[Pkg-sugar-commit] [sugar-toolkit] 02/06: Shared activity does not announce the 'buddy-left' signal OLPC #10800

Jonas Smedegaard dr at jones.dk
Thu Apr 16 18:52:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag v0.92.2
in repository sugar-toolkit.

commit a38d9cca484aba1e81a90e3fbb86f37265455d10
Author: Simon Schampijer <simon at schampijer.de>
Date:   Mon May 23 10:33:50 2011 +0200

    Shared activity does not announce the 'buddy-left' signal OLPC #10800
    
    This fixes a copy and paste error. A good test case is the Memorize
    activity since we listen for the 'buddy-left' signal there to
    update the members list inside the activity.
    
    Signed-off-by: Simon Schampijer <simon at laptop.org>
    Acked-By: Sascha Silbe <silbe at activitycentral.com>
---
 src/sugar/presence/activity.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sugar/presence/activity.py b/src/sugar/presence/activity.py
index b616510..fb4c990 100644
--- a/src/sugar/presence/activity.py
+++ b/src/sugar/presence/activity.py
@@ -341,7 +341,7 @@ class Activity(gobject.GObject):
         if self._channel_self_handle in removed:
             removed.remove(self._channel_self_handle)
         if removed:
-            self._resolve_handles(added, reply_cb=self._remove_buddies)
+            self._resolve_handles(removed, reply_cb=self._remove_buddies)
 
     def _add_buddies(self, contact_ids):
         for contact_id in contact_ids:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-toolkit.git



More information about the pkg-sugar-commit mailing list