some updates - rubberband and callbacks
This commit is contained in:
parent
02507ab8b4
commit
b6d13166bc
3 changed files with 22 additions and 3 deletions
|
|
@ -171,7 +171,8 @@ def tox_file_recv(window, tray):
|
|||
if not window.isActiveWindow():
|
||||
friend = profile.get_friend_by_number(friend_number)
|
||||
if settings['notifications'] and profile.status != TOX_USER_STATUS['BUSY']:
|
||||
invoke_in_main_thread(tray_notification, 'File from ' + friend.name, file_name, tray, window)
|
||||
file_from = QtGui.QApplication.translate("Callback", "File from", None, QtGui.QApplication.UnicodeUTF8)
|
||||
invoke_in_main_thread(tray_notification, file_from + ' ' + friend.name, file_name, tray, window)
|
||||
if settings['sound_notifications'] and profile.status != TOX_USER_STATUS['BUSY']:
|
||||
sound_notification(SOUND_NOTIFICATION['FILE_TRANSFER'])
|
||||
else: # AVATAR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue