Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/session
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-08-12 14:19:47 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-08-12 14:19:47 (GMT)
commit2636bc63d0d4c2227455925b7df9ad81d8691acb (patch)
tree58b5cee52c7480100b5d8300d0026139668085a1 /shell/session
parent0963329b478e7db5f0f14e2df0ceac1ae92317b5 (diff)
Split the console service out of the shell, to remove dep
Diffstat (limited to 'shell/session')
-rw-r--r--shell/session/Session.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/session/Session.py b/shell/session/Session.py
index aac6576..578fe72 100644
--- a/shell/session/Session.py
+++ b/shell/session/Session.py
@@ -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: