no need to escape filname here
This commit is contained in:
parent
98f9525a43
commit
7719f41ecc
1 changed files with 1 additions and 2 deletions
|
@ -303,8 +303,7 @@ _('Connection with peer cannot be established.'))
|
||||||
file requested by a contact'''
|
file requested by a contact'''
|
||||||
if file_props is None or not file_props.has_key('name'):
|
if file_props is None or not file_props.has_key('name'):
|
||||||
return
|
return
|
||||||
file_name = gtkgui_helpers.escape_for_pango_markup(file_props['name'])
|
sec_text = '\t' + _('File: %s') % file_props['name']
|
||||||
sec_text = '\t' + _('File: %s') % file_name
|
|
||||||
if file_props.has_key('size'):
|
if file_props.has_key('size'):
|
||||||
sec_text += '\n\t' + _('Size: %s') % \
|
sec_text += '\n\t' + _('Size: %s') % \
|
||||||
helpers.convert_bytes(file_props['size'])
|
helpers.convert_bytes(file_props['size'])
|
||||||
|
|
Loading…
Add table
Reference in a new issue