tray icon on message
This commit is contained in:
parent
cc8c5f7e99
commit
b02e063302
4 changed files with 14 additions and 6 deletions
|
|
@ -127,6 +127,7 @@ def friend_message(window, tray):
|
|||
invoke_in_main_thread(tray_notification, friend.name, message.decode('utf8'), tray, window)
|
||||
if settings['sound_notifications'] and profile.status != TOX_USER_STATUS['BUSY']:
|
||||
sound_notification(SOUND_NOTIFICATION['MESSAGE'])
|
||||
tray.setIcon(QtGui.QIcon(curr_directory() + '/images/icon_new_messages.png'))
|
||||
return wrapped
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue