mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
Add progress dialog to finding empty rom folder process
This commit is contained in:
parent
3dd31d1c04
commit
9357db8863
|
@ -591,7 +591,15 @@ configurator_retrodeck_tools_dialog() {
|
||||||
|
|
||||||
"Tool: Remove Empty ROM Folders" )
|
"Tool: Remove Empty ROM Folders" )
|
||||||
log i "Configurator: opening \"$choice\" menu"
|
log i "Configurator: opening \"$choice\" menu"
|
||||||
|
(
|
||||||
find_empty_rom_folders
|
find_empty_rom_folders
|
||||||
|
) |
|
||||||
|
zenity --progress --no-cancel --pulsate --auto-close \
|
||||||
|
--icon-name=net.retrodeck.retrodeck \
|
||||||
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
|
--title="Finding Empty ROM Folders" \
|
||||||
|
--width=400 --height=200 \
|
||||||
|
--text="Finding empty ROM folders, please be patient.\n\n"
|
||||||
|
|
||||||
choice=$(zenity \
|
choice=$(zenity \
|
||||||
--list --width=1200 --height=720 --title "RetroDECK Configurator - RetroDECK: Remove Empty ROM Folders" \
|
--list --width=1200 --height=720 --title "RetroDECK Configurator - RetroDECK: Remove Empty ROM Folders" \
|
||||||
|
|
Loading…
Reference in a new issue