Give precendence to user dir over system dir
This commit is contained in:
parent
451c65b8f0
commit
892caab0d8
@ -55,12 +55,12 @@ class ShellModel(gobject.GObject):
|
|||||||
self._mesh = MeshModel(self._bundle_registry)
|
self._mesh = MeshModel(self._bundle_registry)
|
||||||
self._home = HomeModel(self._bundle_registry)
|
self._home = HomeModel(self._bundle_registry)
|
||||||
|
|
||||||
self._bundle_registry.add_search_path(env.get_user_activities_dir())
|
|
||||||
|
|
||||||
for path in env.get_data_dirs():
|
for path in env.get_data_dirs():
|
||||||
bundles_path = os.path.join(path, 'activities')
|
bundles_path = os.path.join(path, 'activities')
|
||||||
self._bundle_registry.add_search_path(bundles_path)
|
self._bundle_registry.add_search_path(bundles_path)
|
||||||
|
|
||||||
|
self._bundle_registry.add_search_path(env.get_user_activities_dir())
|
||||||
|
|
||||||
def do_set_property(self, pspec, value):
|
def do_set_property(self, pspec, value):
|
||||||
if pspec.name == 'state':
|
if pspec.name == 'state':
|
||||||
self._state = value
|
self._state = value
|
||||||
|
Loading…
Reference in New Issue
Block a user