use our helper func
This commit is contained in:
parent
3cd7d46e68
commit
d065e3a289
|
@ -201,9 +201,8 @@ class GroupchatWindow(chat.Chat):
|
||||||
break
|
break
|
||||||
subject = self.subjects[new_jid]
|
subject = self.subjects[new_jid]
|
||||||
|
|
||||||
# escape chars when necessary
|
subject = gtkgui_helpers.escape_for_pango_markup(subject)
|
||||||
subject = subject.replace('&', '&')
|
new_jid = gtkgui_helpers.escape_for_pango_markup(new_jid)
|
||||||
new_jid = new_jid.replace('&', '&')
|
|
||||||
|
|
||||||
name_label = self.name_labels[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))
|
name_label.set_markup('<span weight="heavy" size="x-large">%s</span>\n%s' % (new_jid, subject))
|
||||||
|
|
Loading…
Reference in New Issue