Fix signal args
This commit is contained in:
parent
71b0e7c3a9
commit
70cbd90c7a
@ -111,7 +111,7 @@ class Buddy(gobject.GObject):
|
|||||||
def _handle_current_activity_changed_signal(self, act_list):
|
def _handle_current_activity_changed_signal(self, act_list):
|
||||||
if len(act_list) == 0:
|
if len(act_list) == 0:
|
||||||
self._current_activity = None
|
self._current_activity = None
|
||||||
self.emit('current-activity-changed')
|
self.emit('current-activity-changed', None)
|
||||||
else:
|
else:
|
||||||
self._current_activity = act_list[0]
|
self._current_activity = act_list[0]
|
||||||
self.emit('current-activity-changed', self._ps_new_object(act_list[0]))
|
self.emit('current-activity-changed', self._ps_new_object(act_list[0]))
|
||||||
|
Loading…
Reference in New Issue
Block a user