Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/activity/bundleregistry.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-12-01 20:24:24 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-12-01 20:24:24 (GMT)
commitcf156fac07bcf7f81029a29d31f5a6b3e79080c8 (patch)
treed766844ac385de19846161a63f457b39b83d9d0f /sugar/activity/bundleregistry.py
parent0e2d9b496ab12d512e56041d9f4ffbadf7fab4ab (diff)
Get rid of our custom dbus config, simplify stuff
Diffstat (limited to 'sugar/activity/bundleregistry.py')
-rw-r--r--sugar/activity/bundleregistry.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/sugar/activity/bundleregistry.py b/sugar/activity/bundleregistry.py
index 182bfcf..02bf302 100644
--- a/sugar/activity/bundleregistry.py
+++ b/sugar/activity/bundleregistry.py
@@ -10,9 +10,7 @@ class _ServiceParser(ConfigParser):
class _ServiceManager(object):
def __init__(self):
- self._path = os.path.expanduser('~/.local/share/dbus-1/services')
- if not os.path.isdir(self._path):
- os.makedirs(self._path)
+ self._path = env.get_user_service_dir()
def add(self, bundle):
name = bundle.get_service_name()