Hello ASRI éducation,ASRI éducation wrote:20130510 SimplePupSave v0.7
Improvements I have not succeeded
1 - The main window (written with yad) exit/restart when the user clicks on the buttons 'space free/help/information': it is not useful and it is inconvenient for the user who loses every time choices (directory, size, name, format). Does anyone know how to prevent exit/restart of the main window?
Try putting button actions into a function:
Code: Select all
function free_space () {
partview &
}
export -f free_space
Code: Select all
--button="$BUTTONFREESPACE:bash -c 'free_space'"