GNOME Bugzilla – Bug 322834
Wrong value for needed space, when writing an ISO image
Last modified: 2005-11-30 17:08:07 UTC
n-c-b miscalculates xx in the dialog that says "The selected location does not have enough space to store the disc image (xx needed)".
Created attachment 55420 [details] [review] Fix for this bug Fixes the bug. Question: Should it be preferable to report the needed space, instead of the whole ISO size? (iso size - free_space_on_disk) instead of (iso_size)
Looks good. Only problem is that for translation it is better for the format to be in a separate string. I also moved this code into a separate function. And your idea to report needed space is a good one. I've committed this all to HEAD. Thanks! 2005-11-30 William Jon McCann <mccann@jhu.edu> * make-iso.c (get_image_space_error_message): (nautilus_burn_make_iso, nautilus_burn_make_iso_from_drive): Report space needed instead of image size. 2005-11-30 William Jon McCann <mccann@jhu.edu> * make-iso.c (get_image_space_error_message) (nautilus_burn_make_iso, nautilus_burn_make_iso_from_drive): Use proper format for number in message. Based on patch from Fabio Bonelli <fabiobonelli@libero.it> Fixes #322834.