mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-01-30 18:59:02 +00:00
Quote zenity window icon path to handle spaces
This commit is contained in:
parent
8d130668d6
commit
0e5fe688eb
@ -232,17 +232,17 @@ message() {
|
||||
"info")
|
||||
# info message
|
||||
# call format: message info "text to display"
|
||||
margs=("--info" "--window-icon=$lug_logo" "--no-wrap" "--text=")
|
||||
margs=("--info" "--window-icon=\"$lug_logo\"" "--no-wrap" "--text=")
|
||||
;;
|
||||
"warning")
|
||||
# warning message
|
||||
# call format: message warning "text to display"
|
||||
margs=("--warning" "--window-icon=$lug_logo" "--text=")
|
||||
margs=("--warning" "--window-icon=\"$lug_logo\"" "--text=")
|
||||
;;
|
||||
"question")
|
||||
# question
|
||||
# call format: if message question "question to ask?"; then...
|
||||
margs=("--question" "--window-icon=$lug_logo" "--text=")
|
||||
margs=("--question" "--window-icon=\"$lug_logo\"" "--text=")
|
||||
;;
|
||||
*)
|
||||
debug_print exit "Script Error: Invalid message type passed to the message function. Aborting."
|
||||
|
Loading…
x
Reference in New Issue
Block a user