Author: js Date: 2008-07-29 19:53:24 +0200 (Tue, 29 Jul 2008) New Revision: 10076
Modified: trunk/src/chat_control.py Log: Fix a TB.
Modified: trunk/src/chat_control.py =================================================================== --- trunk/src/chat_control.py 2008-07-29 16:33:21 UTC (rev 10075) +++ trunk/src/chat_control.py 2008-07-29 17:53:24 UTC (rev 10076) @@ -1227,10 +1227,10 @@
if HAVE_MARKUP_TOOLTIPS: mood = gobject.markup_escape_text(mood) - text = gobject.markup_escape_text(text)
tooltip = '<b>%s</b>' % mood if text: + text = gobject.markup_escape_text(text) tooltip += '\n' + text self._mood_image.set_tooltip_markup(tooltip) else: @@ -1276,13 +1276,13 @@ activity = gobject.markup_escape_text(activity) subactivity = gobject.markup_escape_text( subactivity) - text = gobject.markup_escape_text(text)
tooltip = '<b>' + activity if subactivity: tooltip += ': ' + subactivity tooltip += '</b>' if text: + text = gobject.markup_escape_text(text) tooltip += '\n' + text self._activity_image.set_tooltip_markup(tooltip) else: