From 57961d17bcb41d6606ea3c5293473b49da705d3c Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 9 Oct 2007 12:29:20 +0200 Subject: [PATCH] Leftover service initialization --- sugar/activity/activityfactory.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sugar/activity/activityfactory.py b/sugar/activity/activityfactory.py index 05141f1e..6554755a 100644 --- a/sugar/activity/activityfactory.py +++ b/sugar/activity/activityfactory.py @@ -120,11 +120,6 @@ class ActivityCreationHandler(gobject.GObject): bus_object = bus.get_object(_SHELL_SERVICE, _SHELL_PATH) self._shell = dbus.Interface(bus_object, _SHELL_IFACE) - object_path = '/' + service_name.replace('.', '/') - proxy_obj = bus.get_object(service_name, object_path, - follow_name_owner_changes=True) - self._factory = dbus.Interface(proxy_obj, _ACTIVITY_FACTORY_INTERFACE) - if handle.activity_id is not None and \ handle.object_id is None: datastore = dbus.Interface(