the way we do it now is perfect
This commit is contained in:
parent
a9eabba137
commit
3428a8655e
12
src/gajim.py
12
src/gajim.py
|
@ -752,18 +752,6 @@ class Interface:
|
||||||
if not gajim.contacts[account].has_key(jid):
|
if not gajim.contacts[account].has_key(jid):
|
||||||
return
|
return
|
||||||
file_props = array[1]
|
file_props = array[1]
|
||||||
# FIXME: in 0.9 we'll have a queue for that
|
|
||||||
# if gajim.config.get('notify_on_new_message'):
|
|
||||||
# # check if we should be notified
|
|
||||||
# instance = dialogs.PopupNotificationWindow(self,
|
|
||||||
# _('File Transfer Request'), jid, account, 'file', file_props)
|
|
||||||
# self.roster.popup_notification_windows.append(instance)
|
|
||||||
# elif (gajim.connections[account].connected in (2, 3)
|
|
||||||
# and gajim.config.get('autopopup')) or \
|
|
||||||
# gajim.config.get('autopopupaway'):
|
|
||||||
# contact = gajim.contacts[account][jid][0]
|
|
||||||
# self.windows['file_transfers'].show_file_request(
|
|
||||||
# account, contact, file_props)
|
|
||||||
contact = gajim.contacts[account][jid][0]
|
contact = gajim.contacts[account][jid][0]
|
||||||
self.windows['file_transfers'].show_file_request(
|
self.windows['file_transfers'].show_file_request(
|
||||||
account, contact, file_props)
|
account, contact, file_props)
|
||||||
|
|
Loading…
Reference in New Issue