Split the console service out of the shell, to remove dep

This commit is contained in:
Marco Pesenti Gritti
2006-08-12 16:19:47 +02:00
parent 0963329b47
commit 2636bc63d0
4 changed files with 37 additions and 26 deletions
+5
View File
@@ -9,6 +9,7 @@ import dbus.dbus_bindings
from sugar.presence import PresenceService
from Shell import Shell
from ConsoleWindow import ConsoleWindow
from session.Process import Process
import sugar.env
@@ -69,6 +70,9 @@ class Session:
process = DbusProcess()
process.start()
console = ConsoleWindow()
sugar.logger.start('Shell', console)
process = MatchboxProcess()
process.start()
@@ -76,6 +80,7 @@ class Session:
process.start()
shell = Shell(self._registry)
shell.set_console(console)
shell.start()
try: