Fix signal args

This commit is contained in:
Dan Williams 2006-09-27 15:01:40 -04:00
parent 71b0e7c3a9
commit 70cbd90c7a

View File

@ -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]))