Attachments you submit will be routed for moderation. If you have an account, please
log in first.
Ticket #701: sugar-701-toolkit.patch
|
File sugar-701-toolkit.patch, 0.7 KB
(added by alsroot, 4 years ago)
|
|
Final patch for 0.86 (for sugar-toolkit)
|
-
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
|
|
| 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()) |
Download in other formats: