zenity width

This commit is contained in:
Bob Mottram 2017-10-28 20:54:37 +01:00
parent af9806f462
commit 455035e9b1
1 changed files with 2 additions and 3 deletions

View File

@ -33,7 +33,7 @@ export TEXTDOMAINDIR="/usr/share/locale"
MESH_INSTALL_COMPLETED=/root/.mesh_setup_completed
if ! zenity --question --title='New Identity' --text="Do you want to reset your identity? This will reset ALL data for this peer, and you will not be able to recover it." --ok-label=No --cancel-label=Yes; then
if ! zenity --question --title='New Identity' --text="Do you want to reset your identity? This will reset ALL data for this peer, and you will not be able to recover it." --ok-label=No --cancel-label=Yes --width=300; then
sudo batman stop
sudo pkill qtox
sudo pkill firefox
@ -46,8 +46,7 @@ if ! zenity --question --title='New Identity' --text="Do you want to reset your
if [ -f $HOME/mesh-desktop.sh ]; then
$HOME/mesh-desktop.sh
else
dialog --title $"New Identity" \
--msgbox $"You now have a new identity" 6 40
zenity --info --title=$"New Identity" --text=$"You now have a new identity" --width=200
fi
fi