Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/activity/activityfactoryservice.py
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-08-14 19:24:01 (GMT)
committer Simon McVittie <simon.mcvittie@collabora.co.uk>2007-08-14 19:24:01 (GMT)
commitd93122bf5e8622f6c8ede4b3b80295f9b8511425 (patch)
tree3eb27e91975eeef66d55df0f7608e28b463f177f /sugar/activity/activityfactoryservice.py
parent7368429ad6feadd9e81757433b68b63d9d27c04f (diff)
parent0e4eccd49b056e5aebe71ffa46d462e15fd7a883 (diff)
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Diffstat (limited to 'sugar/activity/activityfactoryservice.py')
-rw-r--r--sugar/activity/activityfactoryservice.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sugar/activity/activityfactoryservice.py b/sugar/activity/activityfactoryservice.py
index 8b1397f..63265a1 100644
--- a/sugar/activity/activityfactoryservice.py
+++ b/sugar/activity/activityfactoryservice.py
@@ -30,6 +30,7 @@ from sugar.activity.bundle import Bundle
from sugar.activity import activityhandle
from sugar import logger
from sugar import _sugarext
+from sugar import env
# Work around for dbus mutex locking issue
gobject.threads_init()
@@ -156,6 +157,7 @@ def run(bundle_path):
gtk.icon_theme_get_default().append_search_path(bundle.get_icons_path())
os.environ['SUGAR_BUNDLE_PATH'] = bundle_path
+ os.environ['SUGAR_ACTIVITY_ROOT'] = env.get_profile_path(bundle.get_service_name())
_sugarext.set_prgname(bundle.get_service_name())
_sugarext.set_application_name(bundle.get_name())