tray menu #2 + notifications for friend connection status
This commit is contained in:
parent
c3f3f8f24f
commit
cea5344e4b
3 changed files with 11 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue