Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/model/ShellModel.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/model/ShellModel.py')
-rw-r--r--shell/model/ShellModel.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/model/ShellModel.py b/shell/model/ShellModel.py
index 95ed344..f69003a 100644
--- a/shell/model/ShellModel.py
+++ b/shell/model/ShellModel.py
@@ -20,6 +20,7 @@ from sugar.presence import PresenceService
from sugar.activity.bundleregistry import BundleRegistry
from model.Friends import Friends
from model.MeshModel import MeshModel
+from model.homemodel import HomeModel
from model.Owner import ShellOwner
from sugar import env
@@ -37,6 +38,7 @@ class ShellModel:
self._friends = Friends()
self._mesh = MeshModel(self._bundle_registry)
+ self._home = HomeModel(self._bundle_registry)
path = os.path.expanduser('~/Activities')
self._bundle_registry.add_search_path(path)
@@ -57,6 +59,9 @@ class ShellModel:
def get_invites(self):
return self._owner.get_invites()
+ def get_home(self):
+ return self._home
+
def get_owner(self):
return self._owner