diff options
author | Dan Winship <dwinship@redhat.com> | 2007-10-04 19:59:23 (GMT) |
---|---|---|
committer | Dan Winship <dwinship@redhat.com> | 2007-10-04 19:59:23 (GMT) |
commit | 2bcbde6e441ee5ab5743f6b45b5f85e85bbb644f (patch) | |
tree | 84a47bc8cb25119134c91db7787a7127acb08ce8 /sugar/bundle | |
parent | 5b0566803273cbc45f50a834b08aec73ede26ac5 (diff) |
Add bundle removing methods/signals to the activity registry, and use them
Diffstat (limited to 'sugar/bundle')
-rw-r--r-- | sugar/bundle/activitybundle.py | 5 |
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 |