not the path, just the name, or else bold makes it huge
This commit is contained in:
parent
87d482d0f0
commit
85b1dcd9a4
|
@ -176,7 +176,7 @@ class VcardWindow:
|
|||
filesize = os.path.getsize(f) # in bytes
|
||||
if filesize > 8192: # 8 kb
|
||||
dialogs.ErrorDialog(_('The filesize of image "%s" is too large')\
|
||||
% f,
|
||||
% os.path.basename(f),
|
||||
_('The file must not be more than 8 kilobytes.')).get_response()
|
||||
return
|
||||
fd = open(f, 'rb')
|
||||
|
|
Loading…
Reference in New Issue