coding standards fixes

This commit is contained in:
Nikos Kouremenos 2005-10-31 20:54:40 +00:00
parent b89c217e68
commit da23873805

View file

@ -357,7 +357,7 @@ class Interface:
elif gajim.connections[account].connected in (2, 3): # we're online or chat
show_notification = True
if show_notification:
instance = dialogs.PopupNotificationWindow(\
instance = dialogs.PopupNotificationWindow(
_('Contact Signed In'), jid, account)
self.roster.popup_notification_windows.append(instance)
if self.remote and self.remote.is_enabled():
@ -418,7 +418,7 @@ class Interface:
if not self.windows[account]['chats'].has_key(fjid) and \
not gajim.awaiting_events[account].has_key(fjid):
if show_notification:
instance = dialogs.PopupNotificationWindow(\
instance = dialogs.PopupNotificationWindow(
_('New Private Message'), fjid, account, 'pm')
self.roster.popup_notification_windows.append(instance)
@ -463,10 +463,10 @@ class Interface:
show_notification = True
if show_notification:
if msg_type == 'normal': # single message
instance = dialogs.PopupNotificationWindow(\
instance = dialogs.PopupNotificationWindow(
_('New Single Message'), jid, account, msg_type)
else: # chat message
instance = dialogs.PopupNotificationWindow(\
instance = dialogs.PopupNotificationWindow(
_('New Message'), jid, account, msg_type)
self.roster.popup_notification_windows.append(instance)