Add a 'Disappeared' signal on the buddy object
This commit is contained in:
@@ -33,6 +33,11 @@ class BuddyDBusHelper(dbus.service.Object):
|
||||
def ServiceDisappeared(self, object_path):
|
||||
pass
|
||||
|
||||
@dbus.service.signal(BUDDY_DBUS_INTERFACE,
|
||||
signature="")
|
||||
def Disappeared(self):
|
||||
pass
|
||||
|
||||
@dbus.service.signal(BUDDY_DBUS_INTERFACE,
|
||||
signature="")
|
||||
def IconChanged(self):
|
||||
@@ -268,6 +273,7 @@ class Buddy(object):
|
||||
|
||||
if service.get_type() == PRESENCE_SERVICE_TYPE:
|
||||
self._valid = False
|
||||
self._dbus_helper.Disappeared()
|
||||
|
||||
def remove_activity(self, activity):
|
||||
actid = activity.get_id()
|
||||
|
||||
Reference in New Issue
Block a user