Equal signs before all yad options
This commit is contained in:
parent
bfdadd9a5a
commit
1634f32e98
|
@ -20,7 +20,6 @@ Part of TildeLinux.
|
|||
|
||||
### TODO
|
||||
- Code cleanup
|
||||
- Equal signs before all yad options
|
||||
- Move shared functions into separate files
|
||||
- Error handling for file creation
|
||||
- The exit and cancel buttons should do the same thing
|
||||
|
|
|
@ -81,9 +81,9 @@ info_box() {
|
|||
--posx="$mouse_x" \
|
||||
--posy="$mouse_y" \
|
||||
--no-buttons \
|
||||
--width 250 \
|
||||
--image "dialog-info" \
|
||||
--title "Info" \
|
||||
--width=250 \
|
||||
--image="dialog-info" \
|
||||
--title="Info" \
|
||||
--text "$info_text"
|
||||
}
|
||||
|
||||
|
|
32
sshfs_gui.sh
32
sshfs_gui.sh
|
@ -43,10 +43,10 @@ error_box() {
|
|||
yad \
|
||||
--posx="$mouse_x" \
|
||||
--posy="$mouse_y" \
|
||||
--width 250 \
|
||||
--image "dialog-error" \
|
||||
--title "Error!" \
|
||||
--text "$error_text" \
|
||||
--width=250 \
|
||||
--image="dialog-error" \
|
||||
--title="Error!" \
|
||||
--text="$error_text" \
|
||||
--button="OK":0
|
||||
}
|
||||
|
||||
|
@ -55,10 +55,10 @@ succ_box() {
|
|||
yad \
|
||||
--posx="$mouse_x" \
|
||||
--posy="$mouse_y" \
|
||||
--width 250 \
|
||||
--image "dialog-info" \
|
||||
--title "Success!" \
|
||||
--text "$succ_text" \
|
||||
--width=250 \
|
||||
--image="dialog-info" \
|
||||
--title="Success!" \
|
||||
--text="$succ_text" \
|
||||
--button="OK":0
|
||||
}
|
||||
|
||||
|
@ -67,10 +67,10 @@ dec_box() {
|
|||
yad \
|
||||
--posx="$mouse_x" \
|
||||
--posy="$mouse_y" \
|
||||
--width 250 \
|
||||
--image "dialog-error" \
|
||||
--title "Error!" \
|
||||
--text "$error_text" \
|
||||
--width=250 \
|
||||
--image="dialog-error" \
|
||||
--title="Error!" \
|
||||
--text="$error_text" \
|
||||
--button="No":1 \
|
||||
--button="Yes":0
|
||||
return $?
|
||||
|
@ -82,10 +82,10 @@ info_box() {
|
|||
--posx="$mouse_x" \
|
||||
--posy="$mouse_y" \
|
||||
--no-buttons \
|
||||
--width 250 \
|
||||
--image "dialog-info" \
|
||||
--title "Info" \
|
||||
--text "$info_text"
|
||||
--width=250 \
|
||||
--image="dialog-info" \
|
||||
--title="Info" \
|
||||
--text="$info_text"
|
||||
}
|
||||
|
||||
get_info() {
|
||||
|
|
Loading…
Reference in New Issue