From 7ed580700af98842b301c6c137d7f9bba5901532 Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Sun, 8 Sep 2024 15:12:05 -0400 Subject: [PATCH] Remove broken zenity icons --- lug-helper.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lug-helper.sh b/lug-helper.sh index c1dc6a3..2872ec3 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -335,25 +335,25 @@ message() { "info") # info message # call format: message info "text to display" - margs=("--info" "--window-icon=\"$lug_logo\"" "--no-wrap" "--text=") + margs=("--info" "--no-wrap" "--text=") shift 1 # drop the message type argument and shift up to the text ;; "warning") # warning message # call format: message warning "text to display" - margs=("--warning" "--window-icon=\"$lug_logo\"" "--text=") + margs=("--warning" "--text=") shift 1 # drop the message type argument and shift up to the text ;; "error") # error message # call format: message error "text to display" - margs=("--error" "--window-icon=\"$lug_logo\"" "--text=") + margs=("--error" "--text=") shift 1 # drop the message type argument and shift up to the text ;; "question") # question # call format: if message question "question to ask?"; then... - margs=("--question" "--window-icon=\"$lug_logo\"" "--text=") + margs=("--question" "--text=") shift 1 # drop the message type argument and shift up to the text ;; "options") @@ -363,7 +363,7 @@ message() { if [ "$#" -lt 4 ]; then debug_print exit "Script error: The options type in the message function expects four arguments. Aborting." fi - margs=("--question" "--cancel-label=$2" "--ok-label=$3" "--window-icon=\"$lug_logo\"" "--text=") + margs=("--question" "--cancel-label=$2" "--ok-label=$3" "--text=") shift 3 # drop the type and button label arguments and shift up to the text ;; *) @@ -506,7 +506,7 @@ menu() { done # 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" --window-icon="$lug_logo" --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[@]}" 2>/dev/null)" # Match up choice with an element in menu_options matched="false"