Skip to content
Snippets Groups Projects
Commit c9d702b5 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

[Vasily] fix indicator usage. Fixes #5271

parent b6d7cb99
No related branches found
No related tags found
No related merge requests found
...@@ -183,7 +183,7 @@ else: ...@@ -183,7 +183,7 @@ else:
import latex import latex
HAVE_LATEX = latex.check_for_latex_support() HAVE_LATEX = latex.check_for_latex_support()
HAVE_INDICATOR = False HAVE_INDICATOR = True
try: try:
import indicate import indicate
except ImportError: except ImportError:
......
...@@ -341,7 +341,7 @@ def popup(event_type, jid, account, msg_type='', path_to_image=None, ...@@ -341,7 +341,7 @@ def popup(event_type, jid, account, msg_type='', path_to_image=None,
if gajim.HAVE_INDICATOR and event_type in (_('New Message'), if gajim.HAVE_INDICATOR and event_type in (_('New Message'),
_('New Single Message'), _('New Private Message')): _('New Single Message'), _('New Private Message')):
indicator = indicate.IndicatorMessage() indicator = indicate.Indicator()
indicator.set_property('subtype', 'im') indicator.set_property('subtype', 'im')
indicator.set_property('sender', jid) indicator.set_property('sender', jid)
indicator.set_property('body', text) indicator.set_property('body', text)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment