Ship the startup sound with sugar

This commit is contained in:
Marco Pesenti Gritti
2007-09-24 21:16:06 +02:00
parent 9b68754ba5
commit a8969d776f
4 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ def _shell_started_cb():
hw_manager = hardwaremanager.get_manager()
hw_manager.set_dcon_freeze(0)
startup_sound = os.path.join(env.get_sounds_path('startup.ogg'))
startup_sound = os.path.join(env.get_data_path('startup.flac'))
if os.path.exists(startup_sound):
player = gst.element_factory_make("playbin", "player")
player.set_property("uri", "file://" + startup_sound)