put the gc subject tooltip with text not pango escaped
This commit is contained in:
parent
583e4ad6aa
commit
9f2a002351
|
@ -286,12 +286,12 @@ class GroupchatWindow(chat.Chat):
|
|||
break # so stop looping
|
||||
|
||||
subject = self.subjects[new_jid]
|
||||
subject = gtkgui_helpers.escape_for_pango_markup(subject)
|
||||
new_jid = gtkgui_helpers.escape_for_pango_markup(new_jid)
|
||||
subject_escaped = gtkgui_helpers.escape_for_pango_markup(subject)
|
||||
new_jid_escaped = 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))
|
||||
% (new_jid_escaped, subject_escaped))
|
||||
event_box = name_label.get_parent()
|
||||
if subject == '':
|
||||
subject = _('This room has no subject')
|
||||
|
@ -1003,7 +1003,6 @@ current room topic.') % command, room_jid)
|
|||
|
||||
self.check_and_possibly_add_focus_out_line(room_jid)
|
||||
|
||||
|
||||
chat.Chat.print_conversation_line(self, text, room_jid, kind, contact,
|
||||
tim, other_tags_for_name, [], other_tags_for_text)
|
||||
|
||||
|
|
Loading…
Reference in New Issue