Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/Shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/Shell.py')
-rwxr-xr-xshell/Shell.py7
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()