From 0fae75888a7185abb8964a425358a2acc1f0be4f Mon Sep 17 00:00:00 2001 From: js Date: Tue, 29 Jul 2008 17:53:24 +0000 Subject: [PATCH] Fix a TB. --- src/chat_control.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chat_control.py b/src/chat_control.py index 6101ab1cd..b69c686fe 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -1227,10 +1227,10 @@ class ChatControl(ChatControlBase): if HAVE_MARKUP_TOOLTIPS: mood = gobject.markup_escape_text(mood) - text = gobject.markup_escape_text(text) tooltip = '%s' % mood if text: + text = gobject.markup_escape_text(text) tooltip += '\n' + text self._mood_image.set_tooltip_markup(tooltip) else: @@ -1276,13 +1276,13 @@ class ChatControl(ChatControlBase): activity = gobject.markup_escape_text(activity) subactivity = gobject.markup_escape_text( subactivity) - text = gobject.markup_escape_text(text) tooltip = '' + activity if subactivity: tooltip += ': ' + subactivity tooltip += '' if text: + text = gobject.markup_escape_text(text) tooltip += '\n' + text self._activity_image.set_tooltip_markup(tooltip) else: