diff options
author | Simon Schampijer <simon@schampijer.de> | 2009-01-16 12:45:49 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2009-01-16 12:45:49 (GMT) |
commit | 653de31eed0619c0e7356c45d8932ac4c9574fc5 (patch) | |
tree | 3742350dcb43132cf1d21b9c6f873e834282124d /src/jarabe/intro | |
parent | bfebb2d703dd44a382f46f7feaf59d17fa0aaa9a (diff) |
separate debug settings from xsession #163
- source the debug options in the sugar executable
- create ~/.sugar/debug file on profile creation where
one can customize the debug options
Diffstat (limited to 'src/jarabe/intro')
-rw-r--r-- | src/jarabe/intro/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jarabe/intro/__init__.py b/src/jarabe/intro/__init__.py index 204f686..ca4f64d 100644 --- a/src/jarabe/intro/__init__.py +++ b/src/jarabe/intro/__init__.py @@ -11,6 +11,10 @@ from jarabe.intro.window import create_profile def check_profile(): profile = get_profile() + path = os.path.join(os.path.expanduser('~/.sugar'), 'debug') + if not os.path.exists(path): + profile.create_debug_file() + path = os.path.join(env.get_profile_path(), 'config') if os.path.exists(path): profile.convert_profile() |