From c9d702b5cd2b7c1bb3d3de19ce418f26e13e1600 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Sat, 3 Oct 2009 23:29:11 +0200
Subject: [PATCH] [Vasily] fix indicator usage. Fixes #5271

---
 src/common/gajim.py | 2 +-
 src/notify.py       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common/gajim.py b/src/common/gajim.py
index 31df1b4ea2..9a2ff9528d 100644
--- a/src/common/gajim.py
+++ b/src/common/gajim.py
@@ -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:
diff --git a/src/notify.py b/src/notify.py
index 5077943401..3d9eb60511 100644
--- a/src/notify.py
+++ b/src/notify.py
@@ -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)
-- 
GitLab