Skip to content
Snippets Groups Projects
Commit 74cc2303 authored by nkour's avatar nkour
Browse files

if sound is beep then we beep in speaker

parent ad3d5714
No related branches found
No related tags found
No related merge requests found
......@@ -267,6 +267,9 @@ def play_sound(event):
if not gajim.config.get('sounds_on'):
return
path_to_soundfile = gajim.config.get_per('soundevents', event, 'path')
if path_to_soundfile == 'beep':
print '\a' # make a speaker beep
return
if not os.path.exists(path_to_soundfile):
return
if os.name == 'nt':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment