diff --git a/src/sugar/bundle/activitybundle.py b/src/sugar/bundle/activitybundle.py index 36e37647..8aa8fb00 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())