services/presence/buddy: Improve docstring; remove unused property _object_id
This commit is contained in:
parent
1fa97c3d93
commit
ad33f7dfdd
@ -62,8 +62,9 @@ class Buddy(ExportedGObject):
|
|||||||
|
|
||||||
_activities -- dictionary mapping activity ID to
|
_activities -- dictionary mapping activity ID to
|
||||||
activity.Activity objects
|
activity.Activity objects
|
||||||
handles -- dictionary mapping telepresence client to
|
handles -- dictionary mapping Telepathy client plugin to
|
||||||
"handle" (XXX what's that)
|
contact handle (an integer representing the JID or unique ID);
|
||||||
|
channel-specific handles do not appear here
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__gsignals__ = {
|
__gsignals__ = {
|
||||||
@ -117,8 +118,7 @@ class Buddy(ExportedGObject):
|
|||||||
raise ValueError("object id must be a valid number")
|
raise ValueError("object id must be a valid number")
|
||||||
|
|
||||||
self._bus_name = bus_name
|
self._bus_name = bus_name
|
||||||
self._object_id = object_id
|
self._object_path = _BUDDY_PATH + str(object_id)
|
||||||
self._object_path = _BUDDY_PATH + str(self._object_id)
|
|
||||||
|
|
||||||
self._activities = {} # Activity ID -> Activity
|
self._activities = {} # Activity ID -> Activity
|
||||||
self._activity_sigids = {}
|
self._activity_sigids = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user