From c12d08ebb6e84366cc4bd14ee5ef9e886d59b961 Mon Sep 17 00:00:00 2001
From: Sascha Silbe <sascha@silbe.org>
Date: Thu, 20 Aug 2009 12:38:56 +0200
Subject: [PATCH] don't hardcode Rainbow activity permissions
---
src/sugar/activity/activityfactory.py | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/src/sugar/activity/activityfactory.py b/src/sugar/activity/activityfactory.py
index dcd840f..0337787 100644
a
|
b
|
def get_environment(activity): |
109 | 109 | environ['SUGAR_BUNDLE_ID'] = activity.get_bundle_id() |
110 | 110 | environ['SUGAR_ACTIVITY_ROOT'] = activity_root |
111 | 111 | environ['PATH'] = bin_path + ':' + environ['PATH'] |
112 | | #environ['RAINBOW_STRACE_LOG'] = '1' |
113 | 112 | |
114 | 113 | if activity.get_path().startswith(env.get_user_activities_path()): |
115 | 114 | environ['SUGAR_LOCALEDIR'] = os.path.join(activity.get_path(), 'locale') |
116 | 115 | |
117 | | if activity.get_bundle_id() in [ 'org.laptop.WebActivity', |
118 | | 'org.laptop.GmailActivity', |
119 | | 'org.laptop.WikiBrowseActivity' |
120 | | ]: |
121 | | environ['RAINBOW_CONSTANT_UID'] = 'yes' |
122 | | |
123 | 116 | return environ |
124 | 117 | |
125 | 118 | def get_command(activity, activity_id=None, object_id=None, uri=None): |