Fix a TB.
This commit is contained in:
parent
b3767ac3da
commit
0fae75888a
|
@ -1227,10 +1227,10 @@ class ChatControl(ChatControlBase):
|
||||||
|
|
||||||
if HAVE_MARKUP_TOOLTIPS:
|
if HAVE_MARKUP_TOOLTIPS:
|
||||||
mood = gobject.markup_escape_text(mood)
|
mood = gobject.markup_escape_text(mood)
|
||||||
text = gobject.markup_escape_text(text)
|
|
||||||
|
|
||||||
tooltip = '<b>%s</b>' % mood
|
tooltip = '<b>%s</b>' % mood
|
||||||
if text:
|
if text:
|
||||||
|
text = gobject.markup_escape_text(text)
|
||||||
tooltip += '\n' + text
|
tooltip += '\n' + text
|
||||||
self._mood_image.set_tooltip_markup(tooltip)
|
self._mood_image.set_tooltip_markup(tooltip)
|
||||||
else:
|
else:
|
||||||
|
@ -1276,13 +1276,13 @@ class ChatControl(ChatControlBase):
|
||||||
activity = gobject.markup_escape_text(activity)
|
activity = gobject.markup_escape_text(activity)
|
||||||
subactivity = gobject.markup_escape_text(
|
subactivity = gobject.markup_escape_text(
|
||||||
subactivity)
|
subactivity)
|
||||||
text = gobject.markup_escape_text(text)
|
|
||||||
|
|
||||||
tooltip = '<b>' + activity
|
tooltip = '<b>' + activity
|
||||||
if subactivity:
|
if subactivity:
|
||||||
tooltip += ': ' + subactivity
|
tooltip += ': ' + subactivity
|
||||||
tooltip += '</b>'
|
tooltip += '</b>'
|
||||||
if text:
|
if text:
|
||||||
|
text = gobject.markup_escape_text(text)
|
||||||
tooltip += '\n' + text
|
tooltip += '\n' + text
|
||||||
self._activity_image.set_tooltip_markup(tooltip)
|
self._activity_image.set_tooltip_markup(tooltip)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue