Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/journal/palettes.py
diff options
context:
space:
mode:
authorMartin Abente <mabente@paraguayeduca.org>2010-07-28 21:53:30 (GMT)
committer Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-08-04 14:58:49 (GMT)
commit88d238cc87d531228ba77c6f2cd59750f59460d5 (patch)
treefc3577361ecfc6fea02d2d12b305f387af3ad26b /src/jarabe/journal/palettes.py
parent97c330205c4c60a4e6dcc9033fb907268f592c6f (diff)
Journal xobundle removal wont remove installed one
Journal Xo bundles removal also removes the installed activity. There are many scenarios where this behavior is it not desired. Therefore it needs to be changed.
Diffstat (limited to 'src/jarabe/journal/palettes.py')
-rw-r--r--src/jarabe/journal/palettes.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/jarabe/journal/palettes.py b/src/jarabe/journal/palettes.py
index 0e7702d..7c3e5ff 100644
--- a/src/jarabe/journal/palettes.py
+++ b/src/jarabe/journal/palettes.py
@@ -128,11 +128,6 @@ class ObjectPalette(Palette):
self._temp_file_path = None
def __erase_activate_cb(self, menu_item):
- registry = bundleregistry.get_registry()
-
- bundle = misc.get_bundle(self._metadata)
- if bundle is not None and registry.is_installed(bundle):
- registry.uninstall(bundle)
model.delete(self._metadata['uid'])
def __detail_activate_cb(self, menu_item):