Fix with_id method signature

This commit is contained in:
Marco Pesenti Gritti 2006-06-16 02:04:31 -04:00
parent bdce0eb48c
commit 7eeb43b98a

View File

@ -310,13 +310,12 @@ class ActivityContainer(dbus.service.Object):
@dbus.service.method("com.redhat.Sugar.Shell.ActivityContainer", \
in_signature="ss", \
out_signature="s", \
sender_keyword="sender")
def add_activity_with_id(self, activity_name, activity_id, sender):
activity = ActivityHost(self, activity_name, activity_id)
self.activities.append((sender, activity))
self.current_activity = activity
def __print_activities(self):
print "__print_activities: %d activities registered" % len(self.activities)
i = 0