From 7a4e32c88f6e9c2b652140e62f1c842d284ddc07 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sat, 15 Jul 2023 23:32:16 +0200 Subject: [PATCH] fix cancel button --- usr/bin/archboot-launcher.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/bin/archboot-launcher.sh b/usr/bin/archboot-launcher.sh index 84c561322..26b1ae8f9 100755 --- a/usr/bin/archboot-launcher.sh +++ b/usr/bin/archboot-launcher.sh @@ -40,7 +40,7 @@ _check_manage() { } _desktop () { - _dialog --title " Desktop Menu " --menu "" 10 40 6 "${_DESKTOP[@]}" 2>${_ANSWER} || return 1 + _dialog --cancel-label "Back" --title " Desktop Menu " --menu "" 10 40 6 "${_DESKTOP[@]}" 2>${_ANSWER} || return 1 [[ -e /tmp/.launcher-running ]] && rm /tmp/.launcher-running _EXIT="$(cat ${_ANSWER})" if [[ "${_EXIT}" == "GNOME" ]]; then @@ -70,7 +70,7 @@ _desktop () { } _manage() { - _dialog --title " Manage Archboot Menu " --menu "" 9 50 5 "${_MANAGE[@]}" 2>${_ANSWER} || return 1 + _dialog --cancel-label "Back" --title " Manage Archboot Menu " --menu "" 9 50 5 "${_MANAGE[@]}" 2>${_ANSWER} || return 1 clear [[ -e /tmp/.launcher-running ]] && rm /tmp/.launcher-running _EXIT="$(cat ${_ANSWER})"