Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2011-03-02 17:22:59 (GMT)
committer Simon Schampijer <simon@schampijer.de>2011-03-31 14:32:37 (GMT)
commit368e873f0701d32ab1fb104f2f582c1b039e113f (patch)
treedee72080c5925c8fd67380c9f206a686a1b7eff8
parent8390f4dee72d984f5976e089d3636fca2d4b57b3 (diff)
Open content bundles on a external device #1748
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org> Acked-By: Simon Schampijer <simon@laptop.org> Reviewed-By: Sascha Silbe <silbe@activitycentral.com>
-rw-r--r--src/jarabe/model/bundleregistry.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jarabe/model/bundleregistry.py b/src/jarabe/model/bundleregistry.py
index 84d55c0..63308bb 100644
--- a/src/jarabe/model/bundleregistry.py
+++ b/src/jarabe/model/bundleregistry.py
@@ -382,6 +382,8 @@ class BundleRegistry(gobject.GObject):
install_dir = env.get_user_activities_path()
if isinstance(bundle, JournalEntryBundle):
install_path = bundle.install(uid)
+ elif isinstance(bundle, ContentBundle):
+ install_path = bundle.install()
else:
install_path = bundle.install(install_dir)