From 6f3133abcbb689cb21ded602e72a119d1c67b0d0 Mon Sep 17 00:00:00 2001
From: Aleksey Lim <alsroot@member.fsf.org>
Date: Thu, 27 Aug 2009 18:25:25 +0000
Subject: Add is_user_activity() to ActivityBundle
---
src/sugar/bundle/activitybundle.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/sugar/bundle/activitybundle.py b/src/sugar/bundle/activitybundle.py
index 7600847..130eb0b 100644
a
|
b
|
class ActivityBundle(Bundle): |
399 | 399 | os.remove(path) |
400 | 400 | |
401 | 401 | self._uninstall(install_path) |
| 402 | |
| 403 | def is_user_activity(self): |
| 404 | return self.get_path().startswith(env.get_user_activities_path()) |