Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-09-22 12:49:21 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-09-22 12:49:21 (GMT)
commit9ffcbfca4d6f5e8b4f67569e38583956c58660be (patch)
tree763699ab242b1abe30f558af7bd00f2d3d265b88 /sugar
parentd8a5fed0e006a540da6f5e5baeb39328e3ad650b (diff)
Play a startup sound if it exists.
Diffstat (limited to 'sugar')
-rw-r--r--sugar/env.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sugar/env.py b/sugar/env.py
index e3e0a51..5f50d3c 100644
--- a/sugar/env.py
+++ b/sugar/env.py
@@ -73,6 +73,9 @@ def get_user_library_path():
def get_locale_path(path=None):
return _get_prefix_path('share/locale', path)
+def get_sounds_path(path=None):
+ return _get_prefix_path('share/sounds', path)
+
def get_bin_path(path=None):
return _get_sugar_path('bin', path)