mirror of
https://github.com/the-sane/lug-helper.git
synced 2024-12-28 01:44:18 +00:00
Display error messages from zenity again
This commit is contained in:
parent
10b73fa9ef
commit
af58a6009b
@ -392,7 +392,7 @@ message() {
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Display the message
|
# Display the message
|
||||||
zenity "${margs[@]}""$@" --width="420" --title="Star Citizen LUG Helper" 2>/dev/null
|
zenity "${margs[@]}""$@" --width="420" --title="Star Citizen LUG Helper"
|
||||||
else
|
else
|
||||||
# Fall back to text-based messages when zenity is not available
|
# Fall back to text-based messages when zenity is not available
|
||||||
case "$1" in
|
case "$1" in
|
||||||
@ -527,7 +527,7 @@ menu() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Display the zenity radio button menu
|
# Display the zenity radio button menu
|
||||||
choice="$(zenity --list --"$menu_type" --width="510" --height="$menu_height" --text="$menu_text_zenity" --title="Star Citizen LUG Helper" --hide-header --cancel-label "$cancel_label" --column="" --column="Option" "${zen_options[@]}" 2>/dev/null)"
|
choice="$(zenity --list --"$menu_type" --width="510" --height="$menu_height" --text="$menu_text_zenity" --title="Star Citizen LUG Helper" --hide-header --cancel-label "$cancel_label" --column="" --column="Option" "${zen_options[@]}")"
|
||||||
|
|
||||||
# Match up choice with an element in menu_options
|
# Match up choice with an element in menu_options
|
||||||
matched="false"
|
matched="false"
|
||||||
|
Loading…
Reference in New Issue
Block a user