move some lines back to up
This commit is contained in:
parent
c914a0d058
commit
4ba60d14bf
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue