tray menu #2 + notifications for friend connection status

This commit is contained in:
ingvar1995
2016-04-01 17:38:24 +03:00
parent c3f3f8f24f
commit cea5344e4b
3 changed files with 11 additions and 2 deletions

View File

@ -25,7 +25,7 @@ def sound_notification(t):
elif t == SOUND_NOTIFICATION['FILE_TRANSFER']:
f = curr_directory() + '/sounds/file.wav'
else:
return
f = curr_directory() + '/sounds/contact.wav'
m = Phonon.MediaSource(f)
player = Phonon.createPlayer(Phonon.MusicCategory, m)
player.play()