escape filename before adding them to filetransfert window. fixes #2582
This commit is contained in:
parent
8a45a73226
commit
2ee4333b0b
1 changed files with 1 additions and 1 deletions
|
@ -567,7 +567,7 @@ _('Connection with peer cannot be established.'))
|
||||||
(file_path, file_name) = os.path.split(file_props['file-name'])
|
(file_path, file_name) = os.path.split(file_props['file-name'])
|
||||||
else:
|
else:
|
||||||
file_name = file_props['name']
|
file_name = file_props['name']
|
||||||
text_props = file_name + '\n'
|
text_props = gtkgui_helpers.escape_for_pango_markup(file_name) + '\n'
|
||||||
text_props += contact.get_shown_name()
|
text_props += contact.get_shown_name()
|
||||||
self.model.set(iter, 1, text_labels, 2, text_props, C_SID,
|
self.model.set(iter, 1, text_labels, 2, text_props, C_SID,
|
||||||
file_props['type'] + file_props['sid'])
|
file_props['type'] + file_props['sid'])
|
||||||
|
|
Loading…
Add table
Reference in a new issue