From e455611525d9799e572d33e9631c38ddf4cae051 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 30 Aug 2007 14:42:12 +0200 Subject: [PATCH] with the native factory which doesn't have introspection. --- sugar/activity/activityfactory.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sugar/activity/activityfactory.py b/sugar/activity/activityfactory.py index d7d6d92f..a7d02f31 100644 --- a/sugar/activity/activityfactory.py +++ b/sugar/activity/activityfactory.py @@ -122,7 +122,8 @@ class ActivityCreationHandler(gobject.GObject): error_handler=self._notify_launch_error_handler) if not os.path.exists('/etc/olpc-security'): - self._factory.create(self._activity_handle.get_dict(), + handle = self._activity_handle.get_dict() + self._factory.create(dbus.Dictionary(handle, signature='ss'), timeout=120 * 1000, reply_handler=self._no_reply_handler, error_handler=self._create_error_handler)