use our helper func

This commit is contained in:
Nikos Kouremenos 2005-08-24 12:41:42 +00:00
parent 3cd7d46e68
commit d065e3a289
1 changed files with 2 additions and 3 deletions

View File

@ -201,9 +201,8 @@ class GroupchatWindow(chat.Chat):
break
subject = self.subjects[new_jid]
# escape chars when necessary
subject = subject.replace('&', '&')
new_jid = new_jid.replace('&', '&')
subject = gtkgui_helpers.escape_for_pango_markup(subject)
new_jid = gtkgui_helpers.escape_for_pango_markup(new_jid)
name_label = self.name_labels[new_jid]
name_label.set_markup('<span weight="heavy" size="x-large">%s</span>\n%s' % (new_jid, subject))