move some lines back to up

This commit is contained in:
Nikos Kouremenos 2005-12-10 22:44:47 +00:00
parent c914a0d058
commit 4ba60d14bf
1 changed files with 12 additions and 11 deletions

View File

@ -110,6 +110,11 @@ class DesktopNotification:
else:
actor = jid
# failsafe values
img = 'chat_msg_recv.png' # img to display
ntype = 'im' # Notification Type
txt = actor # default value of txt
if event_type == _('Contact Signed In'):
img = 'contact_online.png'
ntype = 'presence.online'
@ -176,10 +181,6 @@ class DesktopNotification:
img = 'ft_stopped.png'
else:
txt = ''
else: # failsafe values
img = 'chat_msg_recv.png' # img to display
ntype = 'im' # Notification Type
txt = actor # default value of txt
path = os.path.join(gajim.DATA_DIR, 'pixmaps', 'events', img)
path = os.path.abspath(path)