This commit is contained in:
Tomeu Vizoso
2007-02-25 18:03:17 +01:00
parent 4299dd6765
commit a9c4e4b8e5
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
import dbus
from sugar.activity import bundleregistry
_DBUS_SERVICE = "org.laptop.Shell"
_DBUS_INTERFACE = "org.laptop.Shell"
_DBUS_PATH = "/org/laptop/Shell"
@@ -15,5 +17,5 @@ class ShellService(dbus.service.Object):
@dbus.service.method(_DBUS_INTERFACE, in_signature="s", out_signature="b")
def add_bundle(self, bundle_path):
registry = self._shellModel.get_bundle_registry()
registry = bundleregistry.get_registry()
return registry.add_bundle(bundle_path)