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-03 16:07:09 (GMT)
commita445c40099dd673c177bedc1ef25447040fbf3c5 (patch)
treedee72080c5925c8fd67380c9f206a686a1b7eff8
parent582f9df1acbff8c71d897f37a4a4e98d4830fd3f (diff)
Open content bundles on a external device #1748HEADmaster
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)