diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-09-27 18:46:20 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-09-27 18:46:20 (GMT) |
commit | 7391e4a3c3b24045802191bf83abed405b02cfc6 (patch) | |
tree | 4069d52a290483aaa9f4d65f2df7900ca9f7ed49 /sugar | |
parent | 09a775e13a5d3b89c365ade6ef35a5a791c0ab7d (diff) |
Adapt to dbus-python API change
Diffstat (limited to 'sugar')
-rw-r--r-- | sugar/activity/activityfactory.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar/activity/activityfactory.py b/sugar/activity/activityfactory.py index 1041747..967d10d 100644 --- a/sugar/activity/activityfactory.py +++ b/sugar/activity/activityfactory.py @@ -143,7 +143,7 @@ class ActivityCreationHandler(gobject.GObject): if not os.path.exists('/etc/olpc-security'): handle = self._handle.get_dict() self._factory.create(dbus.Dictionary(handle, signature='ss'), - timeout=120 * 1000, + timeout=120, reply_handler=self._no_reply_handler, error_handler=self._create_error_handler) else: @@ -153,7 +153,7 @@ class ActivityCreationHandler(gobject.GObject): factory.CreateActivity( self._service_name, self._handle.get_dict(), - timeout=120 * 1000, + timeout=120, reply_handler=self._create_reply_handler, error_handler=self._create_error_handler, dbus_interface=_RAINBOW_ACTIVITY_FACTORY_INTERFACE) |