Fix with_id method signature
This commit is contained in:
parent
bdce0eb48c
commit
7eeb43b98a
@ -310,13 +310,12 @@ class ActivityContainer(dbus.service.Object):
|
|||||||
|
|
||||||
@dbus.service.method("com.redhat.Sugar.Shell.ActivityContainer", \
|
@dbus.service.method("com.redhat.Sugar.Shell.ActivityContainer", \
|
||||||
in_signature="ss", \
|
in_signature="ss", \
|
||||||
out_signature="s", \
|
|
||||||
sender_keyword="sender")
|
sender_keyword="sender")
|
||||||
def add_activity_with_id(self, activity_name, activity_id, sender):
|
def add_activity_with_id(self, activity_name, activity_id, sender):
|
||||||
activity = ActivityHost(self, activity_name, activity_id)
|
activity = ActivityHost(self, activity_name, activity_id)
|
||||||
self.activities.append((sender, activity))
|
self.activities.append((sender, activity))
|
||||||
self.current_activity = activity
|
self.current_activity = activity
|
||||||
|
|
||||||
def __print_activities(self):
|
def __print_activities(self):
|
||||||
print "__print_activities: %d activities registered" % len(self.activities)
|
print "__print_activities: %d activities registered" % len(self.activities)
|
||||||
i = 0
|
i = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user