diff --git a/wire_g b/wire_g index 867d2ae..303ed2f 100755 --- a/wire_g +++ b/wire_g @@ -115,7 +115,7 @@ import_wg(){ *) yad --text-align=center --button=$"OK" --title=$"Wireguard .conf Select file" \ --image-on-top --window-icon=${wg_pic}wg-stop.png --image=${wg_pic}wg-info.png \ - --fixed --center --buttons-layout=center --borders=8 \ + --center --buttons-layout=center --borders=8 \ --text $"Oh, something went wrong. \n No valid Wireguard file. \n Here is an example: my_wireguard.conf \n" @@ -142,7 +142,7 @@ remove(){ if selection=$(yad --no-click --list --center \ --window-icon=${wg_pic}wg-trash.png \ --height=300 --width=60 --title="Wire-G Trash" \ - --fixed --buttons-layout=center --separator="" \ + --buttons-layout=center --separator="" \ --button=$"OK" --button=$"Cancel" \ --borders=8 --image-on-top --image=${wg_pic}wg-active.png \ --column=$"Delete" $tunnel \ @@ -159,13 +159,13 @@ remove(){ --image-on-top --image=${wg_pic}wg-info.png \ --text=$"Your tunnel $selection was successfully deleted." \ --text-align=center --button=$"OK" --title "Wire-G Trash" \ - --fixed --center --buttons-layout=center --borders=8 + --center --buttons-layout=center --borders=8 else yad --window-icon=${wg_pic}wg-trash.png \ --image-on-top --image=${wg_pic}wg-info.png \ --text=$"Oh something went wrong.\nPlease delete tunnel in the network manager." \ --text-align=center --button=$"OK" --title "Wire-G Trash" \ - --fixed --center --buttons-layout=center --borders=8 + --center --buttons-layout=center --borders=8 fi if [ "$selection" = "$active" ] then @@ -189,7 +189,7 @@ up_or_down(){ yad --image-on-top --image=${wg_pic}wg-info.png \ --text=$"There is no active tunnel that you could stop." \ --text-align=center --button=$"OK" --title "Wire-G" \ - --fixed --center --buttons-layout=center --borders=8 + --center --buttons-layout=center --borders=8 else wg_stop