diff options
author | js <js-gajim@webkeks.org> | 2008-07-30 18:00:21 +0400 |
---|---|---|
committer | js <js-gajim@webkeks.org> | 2008-07-30 18:00:21 +0400 |
commit | 5a16f09b3e41029387e83c2bf94379fe8cd719c4 (patch) | |
tree | 3a6f67123bda15ac9458337a0d4499950cbc0890 /src | |
parent | d030cd8b03ffcbcbdc32f86a5bae4039f036993b (diff) |
Fix a TB.
Diffstat (limited to 'src')
-rw-r--r-- | src/chat_control.py | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/chat_control.py b/src/chat_control.py index a3b9dc4cd..aafb12466 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -1273,17 +1273,12 @@ class ChatControl(ChatControlBase): # Translate standard subactivities if HAVE_MARKUP_TOOLTIPS: - activity = gobject.markup_escape_text(activity) - subactivity = gobject.markup_escape_text( - subactivity) - - tooltip = '<b>' + activity + tooltip = '<b>' + gobject.markup_escape_text(activity) if subactivity: - tooltip += ': ' + subactivity + tooltip += ': ' + gobject.markup_escape_text(subactivity) tooltip += '</b>' if text: - text = gobject.markup_escape_text(text) - tooltip += '\n' + text + tooltip += '\n' + gobject.markup_escape_text(text) self._activity_image.set_tooltip_markup(tooltip) else: tooltip = activity @@ -1297,7 +1292,6 @@ class ChatControl(ChatControlBase): else: self._activity_image.hide() - def update_tune(self): artist = None title = None @@ -2604,4 +2598,4 @@ class ChatControl(ChatControlBase): self.print_conversation('%s' % (status), 'status', simple=True) self.print_conversation(')', 'status', simple=True) -# vim: se ts=3:
\ No newline at end of file +# vim: se ts=3: |