From 455035e9b17c7f1f3849ecfb0cca20f90a594ccb Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 28 Oct 2017 20:54:37 +0100 Subject: [PATCH] zenity width --- src/freedombone-mesh-reset | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/freedombone-mesh-reset b/src/freedombone-mesh-reset index ceedba70..43b3df09 100755 --- a/src/freedombone-mesh-reset +++ b/src/freedombone-mesh-reset @@ -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