Create a conf module. Move activity registry out of the shell

(should only be graphical) into it.
This commit is contained in:
Marco Pesenti Gritti
2006-08-22 14:01:53 +02:00
parent 49073039e9
commit 3e51b086df
16 changed files with 45 additions and 34 deletions
+2 -4
View File
@@ -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()