Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/bundle/activitybundle.py
diff options
context:
space:
mode:
authorDan Winship <dwinship@redhat.com>2007-10-04 19:59:23 (GMT)
committer Dan Winship <dwinship@redhat.com>2007-10-04 19:59:23 (GMT)
commit2bcbde6e441ee5ab5743f6b45b5f85e85bbb644f (patch)
tree84a47bc8cb25119134c91db7787a7127acb08ce8 /sugar/bundle/activitybundle.py
parent5b0566803273cbc45f50a834b08aec73ede26ac5 (diff)
Add bundle removing methods/signals to the activity registry, and use them
Diffstat (limited to 'sugar/bundle/activitybundle.py')
-rw-r--r--sugar/bundle/activitybundle.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sugar/bundle/activitybundle.py b/sugar/bundle/activitybundle.py
index d13f93c..0d5a5b4 100644
--- a/sugar/bundle/activitybundle.py
+++ b/sugar/bundle/activitybundle.py
@@ -280,6 +280,7 @@ class ActivityBundle(Bundle):
os.remove(path)
self._uninstall(install_path)
-
- # FIXME: notify shell
+
+ if not activity.get_registry().remove_bundle(install_path):
+ raise RegistrationException