Tweak activity search path. Use ~/Activities and XDG_DATA_DIRS/activities
This commit is contained in:
@@ -70,7 +70,6 @@ class BundleRegistry:
|
||||
|
||||
def _add_bundle(self, bundle_path):
|
||||
bundle = Bundle(bundle_path)
|
||||
print bundle
|
||||
if bundle.is_valid():
|
||||
self._bundles[bundle.get_service_name()] = bundle
|
||||
self._service_manager.add(bundle)
|
||||
|
||||
@@ -54,8 +54,5 @@ def get_services_dir():
|
||||
def get_dbus_config():
|
||||
return sugar_dbus_config
|
||||
|
||||
def get_bundles_path():
|
||||
return os.path.join(get_profile_path(), 'bundles')
|
||||
|
||||
def get_shell_bin_dir():
|
||||
return sugar_shell_bin_dir
|
||||
|
||||
Reference in New Issue
Block a user