trivial cosmetic changes
This commit is contained in:
parent
d196fb89a7
commit
f4b7233255
@ -48,7 +48,7 @@ class PresenceService(dbus.service.Object):
|
|||||||
self._activities = {} # activity id -> Activity
|
self._activities = {} # activity id -> Activity
|
||||||
|
|
||||||
bus = dbus.SessionBus()
|
bus = dbus.SessionBus()
|
||||||
self._bus_name = dbus.service.BusName(_PRESENCE_SERVICE, bus=bus)
|
self._bus_name = dbus.service.BusName(_PRESENCE_SERVICE, bus=bus)
|
||||||
|
|
||||||
# Create the Owner object
|
# Create the Owner object
|
||||||
objid = self._get_next_object_id()
|
objid = self._get_next_object_id()
|
||||||
@ -84,7 +84,7 @@ class PresenceService(dbus.service.Object):
|
|||||||
pass
|
pass
|
||||||
# TEST
|
# TEST
|
||||||
id = util.unique_id()
|
id = util.unique_id()
|
||||||
self._share_activity(id, "org.laptop.Sugar.lapin",
|
self._share_activity(id, "org.laptop.Sugar.Test",
|
||||||
"Chat of %s" % self._owner.props.nick, [])
|
"Chat of %s" % self._owner.props.nick, [])
|
||||||
|
|
||||||
def _contact_online(self, tp, handle, props):
|
def _contact_online(self, tp, handle, props):
|
||||||
|
Loading…
Reference in New Issue
Block a user