use escape for pango markup

This commit is contained in:
Yann Leboulanger 2006-01-06 08:55:51 +00:00
parent cf247f36e3
commit 0ffc6f1169
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ class Chat:
close_button.hide()
nickname.set_max_width_chars(10)
lbl = self.names[jid]
lbl = gtkgui_helpers.escape_for_pango_markup(self.names[jid])
if num_unread: # if unread, text in the label becomes bold
lbl = '<b>' + unread + lbl + '</b>'
nickname.set_markup(lbl)