changeset 8c8784f1585f in /home/hg/repos/gajim

branches: gajim_0.16
details:http://hg.gajim.org/gajim?cmd=changeset;node=8c8784f1585f
description: use correct function to set tooltip

diffstat:

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

diffs (25 lines):

diff -r d3cde2dede39 -r 8c8784f1585f src/chat_control.py
--- a/src/chat_control.py       Mon Jul 29 10:54:48 2013 +0200
+++ b/src/chat_control.py       Mon Jul 29 21:11:40 2013 +0200
@@ -1755,16 +1755,16 @@
         # Formatting
         if self.contact.supports(NS_XHTML_IM) and not self.gpg_is_active:
             self._formattings_button.set_sensitive(True)
-            self._formattings_button.set_tooltip(_(
+            self._formattings_button.set_tooltip_text(_(
                 'Show a list of formattings'))
         else:
             self._formattings_button.set_sensitive(False)
             if self.contact.supports(NS_XHTML_IM):
-                self._formattings_button.set_tooltip(_('Formattings are not '
-                    'available when GPG is active'))
+                self._formattings_button.set_tooltip_text(_('Formattings are '
+                    'not available when GPG is active'))
             else:
-                self._formattings_button.set_tooltip(_('This contact does not '
-                    'support HTML'))
+                self._formattings_button.set_tooltip_text(_('This contact does 
'
+                    'not support HTML'))
 
         # Add to roster
         if not isinstance(self.contact, GC_Contact) \
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to