Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/sugar/bundle/activitybundle.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sugar/bundle/activitybundle.py b/src/sugar/bundle/activitybundle.py
index 36e3764..8aa8fb0 100644
--- a/src/sugar/bundle/activitybundle.py
+++ b/src/sugar/bundle/activitybundle.py
@@ -400,3 +400,6 @@ class ActivityBundle(Bundle):
os.remove(path)
self._uninstall(install_path)
+
+ def is_user_activity(self):
+ return self.get_path().startswith(env.get_user_activities_path())