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
+1 -6
View File
@@ -19,11 +19,6 @@ from sugar import env
env.setup()
from ActivityRegistry import ActivityRegistry
registry = ActivityRegistry()
registry.scan_directory(env.get_activities_dir())
from session.Emulator import Emulator
if os.environ.has_key('SUGAR_EMULATOR') and \
@@ -33,5 +28,5 @@ if os.environ.has_key('SUGAR_EMULATOR') and \
from session.Session import Session
session = Session(registry)
session = Session()
session.start()