no need to escape filname here

This commit is contained in:
Yann Leboulanger 2006-04-26 08:33:22 +00:00
parent 98f9525a43
commit 7719f41ecc
1 changed files with 1 additions and 2 deletions

View File

@ -303,8 +303,7 @@ _('Connection with peer cannot be established.'))
file requested by a contact'''
if file_props is None or not file_props.has_key('name'):
return
file_name = gtkgui_helpers.escape_for_pango_markup(file_props['name'])
sec_text = '\t' + _('File: %s') % file_name
sec_text = '\t' + _('File: %s') % file_props['name']
if file_props.has_key('size'):
sec_text += '\n\t' + _('Size: %s') % \
helpers.convert_bytes(file_props['size'])