[Bugs] #2157 IMME: reimplement sugar.presence so it doesn't use the Presence Service

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Aug 20 06:29:20 EDT 2010

#2157: reimplement sugar.presence so it doesn't use the Presence Service
    Reporter:  tomeu          |          Owner:  erikos     
        Type:  enhancement    |         Status:  new        
    Priority:  Immediate      |      Milestone:  0.90       
   Component:  sugar-toolkit  |        Version:  Unspecified
    Severity:  Unspecified    |       Keywords:  r!         
Distribution:  Unspecified    |   Status_field:  Assigned   
Changes (by erikos):

  * keywords:  r? => r!


 - thanks for changing it to handle.invited

 - (please add a comment that it is deprecated)
 def Invite(self, buddy_key):
         raise NotImplementedError
 In the shell (jarabe.view.buddymenu) you are trying to call it:
 logging.warning('Trying deprecated Activity.Invite')
 Does this handle cases where old Sugar versions share with new ones?

 - self._object_id = None  just a pylint fix, right?

 - can you add a doc what it does and mark it unstable API as it is only of
 use to the sugar-PS?

 - please adjust the line: "UI class to access system-level presence
 - please adjust the docstring: "UI-side interface to the dbus presence
 - remove the class OfflineInterface (not used anymore)
 - remove the 'activity-disappeared' etc signals as the shell does not
 listen to them anymore. From the s\
 ignals only 'activity-shared' seems to be in use.

 Btw, all the approach looks really good!

Ticket URL: <http://bugs.sugarlabs.org/ticket/2157#comment:5>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system

More information about the Bugs mailing list