[Vasily] fix indicator usage. Fixes #5271

This commit is contained in:
Yann Leboulanger 2009-10-03 23:29:11 +02:00
parent b6d7cb992f
commit c9d702b5cd
2 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ else:
import latex
HAVE_LATEX = latex.check_for_latex_support()
HAVE_INDICATOR = False
HAVE_INDICATOR = True
try:
import indicate
except ImportError:

View File

@ -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'),
_('New Single Message'), _('New Private Message')):
indicator = indicate.IndicatorMessage()
indicator = indicate.Indicator()
indicator.set_property('subtype', 'im')
indicator.set_property('sender', jid)
indicator.set_property('body', text)