diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-09-15 10:40:22 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-09-15 10:40:22 (GMT) |
commit | 645aa93e50288547dda88c156795839178426df9 (patch) | |
tree | 73a74ab4d210538d7003aa4dc7c72fd5ab0bcf97 /shell/Session.py | |
parent | 0232dc73b55b5246c927bcbc4b63d4a195b1e9c1 (diff) |
Split shell in model/view, cleanup things a lot
Diffstat (limited to 'shell/Session.py')
-rw-r--r-- | shell/Session.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/shell/Session.py b/shell/Session.py index 07337d6..0bf3fa4 100644 --- a/shell/Session.py +++ b/shell/Session.py @@ -2,6 +2,7 @@ import os import gtk from Shell import Shell +from ShellModel import ShellModel from ConsoleWindow import ConsoleWindow from sugar import env from sugar import logger @@ -47,11 +48,8 @@ class Session: dbm = DBusMonitorProcess() dbm.start() - console = ConsoleWindow() - logger.start('Shell', console) - - shell = Shell() - shell.set_console(console) + model = ShellModel() + shell = Shell(model) from sugar import TracebackUtils tbh = TracebackUtils.TracebackHelper() |