Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/view/Shell.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/view/Shell.py b/shell/view/Shell.py
index 3327972..d68d86c 100644
--- a/shell/view/Shell.py
+++ b/shell/view/Shell.py
@@ -30,6 +30,7 @@ from sugar import activity
from sugar.activity import activityfactory
from sugar.datastore import datastore
from sugar import profile
+from sugar import env
from view.ActivityHost import ActivityHost
from view.frame.frame import Frame
@@ -67,10 +68,12 @@ class Shell(gobject.GObject):
gobject.idle_add(self._start_journal_idle)
def _start_journal_idle(self):
- registry = activity.get_registry()
+ # Mount the datastore in internal flash
+ datastore.mount(env.get_profile_path('datastore'), [])
# Checking for the bundle existence will also ensure
# that the shell service is started up.
+ registry = activity.get_registry()
if registry.get_activity('org.laptop.JournalActivity'):
self.start_activity('org.laptop.JournalActivity')