Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/session/Session.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/session/Session.py')
-rw-r--r--shell/session/Session.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/shell/session/Session.py b/shell/session/Session.py
index 8af2c65..28da29a 100644
--- a/shell/session/Session.py
+++ b/shell/session/Session.py
@@ -25,11 +25,9 @@ class MatchboxProcess(Process):
class Session:
"""Takes care of running the shell and all the sugar processes"""
- def __init__(self, registry):
- self._registry = registry
-
def start(self):
"""Start the session"""
+
PresenceService.start()
process = MatchboxProcess()
@@ -38,7 +36,7 @@ class Session:
console = ConsoleWindow()
sugar.logger.start('Shell', console)
- shell = Shell(self._registry)
+ shell = Shell()
shell.set_console(console)
shell.start()