diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-28 01:04:15 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-28 01:04:15 (GMT) |
commit | e571d1d525359f562074d6922ac06e35ac49b48c (patch) | |
tree | bbb6dbba110c44de83455b0cd49836642b898cea /devbot/environ.py | |
parent | 016dea75191a76c01362850d4874d27fa0fb13e0 (diff) |
Refactor to use sugar-runner
Diffstat (limited to 'devbot/environ.py')
-rw-r--r-- | devbot/environ.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/devbot/environ.py b/devbot/environ.py index 5879995..2107792 100644 --- a/devbot/environ.py +++ b/devbot/environ.py @@ -58,6 +58,10 @@ def _setup_variables(): os.environ["GTK_DATA_PREFIX"] = config.prefix_dir os.environ["GTK_PATH"] = os.path.join(config.lib_dir, "gtk-2.0") + profile = config.get_pref("PROFILE") + if profile is not None: + os.environ["SUGAR_PROFILE"] = profile + def _setup_gconf(): gconf_dir = os.path.join(config.etc_dir, "gconf") gconf_pathdir = os.path.join(gconf_dir, "2") |