Ship the startup sound with sugar
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user