This commit is contained in:
Nikos Kouremenos 2005-10-19 10:39:23 +00:00
parent 5b8a2c736b
commit 5b1d6457d9
1 changed files with 4 additions and 4 deletions

View File

@ -119,8 +119,8 @@ parser = optparser.OptionsParser(config_filename)
class Contact: class Contact:
'''Information concerning each contact''' '''Information concerning each contact'''
def __init__(self, jid='', name='', groups=[], show='', status='', sub='',\ def __init__(self, jid='', name='', groups=[], show='', status='', sub='',
ask='', resource='', priority=5, keyID='', role='', affiliation='',\ ask='', resource='', priority=5, keyID='', role='', affiliation='',
chatstate=None): chatstate=None):
self.jid = jid self.jid = jid
self.name = name self.name = name
@ -836,7 +836,7 @@ class Interface:
ft.show_request_error(file_props) ft.show_request_error(file_props)
return return
self.plugin.add_event(account, jid, 'file-request-error', file_props) self.add_event(account, jid, 'file-request-error', file_props)
if gajim.show_notification(account): if gajim.show_notification(account):
# check if we should be notified # check if we should be notified
@ -860,7 +860,7 @@ class Interface:
file_props) file_props)
return return
self.plugin.add_event(account, jid, 'file-request', file_props) self.add_event(account, jid, 'file-request', file_props)
if gajim.show_notification(account): if gajim.show_notification(account):
instance = dialogs.PopupNotificationWindow(self, instance = dialogs.PopupNotificationWindow(self,