From aec9f53c2dd8331810c74ad21a6149cfa6088b26 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Sun, 1 Apr 2012 19:47:11 +0200
Subject: [PATCH] revert unwanted change

---
 src/chat_control.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/chat_control.py b/src/chat_control.py
index 8f36e225ce..ca769d6dd8 100644
--- a/src/chat_control.py
+++ b/src/chat_control.py
@@ -1649,15 +1649,15 @@ class ChatControl(ChatControlBase):
         self.restore_conversation()
         self.msg_textview.grab_focus()
 
-        # change tooltip text for audio and video buttons if python-farstream is
+        # change tooltip text for audio and video buttons if python-farsight is
         # not installed
-        if not gajim.HAVE_FARSTREAM:
+        if not gajim.HAVE_FARSIGHT:
             tooltip_text = self._audio_button.get_tooltip_text()
             self._audio_button.set_tooltip_text(
-                '%s\n%s' % (tooltip_text, _('Requires python-farstream.')))
+                '%s\n%s' % (tooltip_text, _('Requires python-farsight.')))
             tooltip_text = self._video_button.get_tooltip_text()
             self._video_button.set_tooltip_text(
-                '%s\n%s' % (tooltip_text, _('Requires python-farstream.')))
+                '%s\n%s' % (tooltip_text, _('Requires python-farsight.')))
 
         gajim.ged.register_event_handler('pep-received', ged.GUI1,
             self._nec_pep_received)
@@ -1705,7 +1705,7 @@ class ChatControl(ChatControlBase):
 
         # Jingle detection
         if self.contact.supports(NS_JINGLE_ICE_UDP) and \
-        gajim.HAVE_FARSTREAM and self.contact.resource:
+        gajim.HAVE_FARSIGHT and self.contact.resource:
             self.audio_available = self.contact.supports(NS_JINGLE_RTP_AUDIO)
             self.video_available = self.contact.supports(NS_JINGLE_RTP_VIDEO)
         else:
-- 
GitLab