This commit is contained in:
Nikos Kouremenos 2005-11-08 16:53:33 +00:00
parent 908992ac11
commit 14bccbc2a6
1 changed files with 4 additions and 2 deletions

View File

@ -908,8 +908,10 @@ class Interface:
self.add_event(account, jid, msg_type, file_props)
if gajim.config.get('notify_on_file_complete') and \
gajim.config.get('autopopupaway') or \
gajim.connections[account].connected in (2, 3):
(gajim.config.get('autopopupaway') or \
gajim.connections[account].connected in (2, 3)):
# we want to be notified and we are online/chat or we don't mind
# bugged when away/na/busy
instance = dialogs.PopupNotificationWindow(event_type, jid, account,
msg_type, file_props)
self.roster.popup_notification_windows.append(instance)