Add a config module into the shell holding path informations.

Get rid of env.get_locale_path()
This commit is contained in:
Marco Pesenti Gritti
2008-02-04 19:16:46 +01:00
parent b3cc0bec55
commit 1c361ea5dd
4 changed files with 9 additions and 5 deletions
-3
View File
@@ -77,9 +77,6 @@ def get_user_activities_path():
def get_user_library_path():
return os.path.expanduser('~/Library')
def get_locale_path(path=None):
return get_prefix_path('share/locale', path)
def get_service_path(name):
return _get_sugar_path('services', name)