ton't traceback when showing tooltip of a filetransfer without description
This commit is contained in:
parent
dc4d6b7a6d
commit
89f778fb94
|
@ -627,8 +627,10 @@ class FileTransfersTooltip(BaseTooltip):
|
||||||
else:
|
else:
|
||||||
status = _('Not started')
|
status = _('Not started')
|
||||||
properties.append((_('Status: '), status))
|
properties.append((_('Status: '), status))
|
||||||
file_desc = file_props['desc']
|
if 'desc' in file_props:
|
||||||
properties.append((_('Description: '), gobject.markup_escape_text(file_desc)))
|
file_desc = file_props['desc']
|
||||||
|
properties.append((_('Description: '), gobject.markup_escape_text(
|
||||||
|
file_desc)))
|
||||||
while properties:
|
while properties:
|
||||||
property = properties.pop(0)
|
property = properties.pop(0)
|
||||||
current_row += 1
|
current_row += 1
|
||||||
|
|
Loading…
Reference in New Issue