diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-07-27 23:25:08 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-07-27 23:25:08 (GMT) |
commit | 86bd6f50f0ad5eaaf2110e245c979687eb041d22 (patch) | |
tree | 8517b74e5451ee070776576713b15273797cf335 /shell/Shell.py | |
parent | 1d370ca8e5b8f4f4b863adb7bb9ea39fe885d284 (diff) |
Use dbus activation to launch factories. This breaks
p-to-p chat and ./sugar/activities. Will fix tomorrow.
Diffstat (limited to 'shell/Shell.py')
-rwxr-xr-x | shell/Shell.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/shell/Shell.py b/shell/Shell.py index 680f94f..ff668f0 100755 --- a/shell/Shell.py +++ b/shell/Shell.py @@ -42,8 +42,9 @@ class ShellDbusService(dbus.service.Object): gobject.idle_add(self.__log_idle, (module_id, message)) class Shell: - def __init__(self): + def __init__(self, registry): self._screen = wnck.screen_get_default() + self._registry = registry def start(self): log_writer = LogWriter("Shell", False) @@ -56,10 +57,6 @@ class Shell: self._owner = ShellOwner() self._owner.announce() - self._registry = ActivityRegistry() - self._registry.scan_directory(env.get_activities_dir()) - self._registry.scan_directory(os.path.join(env.get_user_dir(), 'activities')) - self._home_window = HomeWindow(self) self._home_window.show() |