Browse Source

zenity width

Bob Mottram 7 years ago
parent
commit
455035e9b1
1 changed files with 2 additions and 3 deletions
  1. 2
    3
      src/freedombone-mesh-reset

+ 2
- 3
src/freedombone-mesh-reset View File

33
 
33
 
34
 MESH_INSTALL_COMPLETED=/root/.mesh_setup_completed
34
 MESH_INSTALL_COMPLETED=/root/.mesh_setup_completed
35
 
35
 
36
-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
36
+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
37
     sudo batman stop
37
     sudo batman stop
38
     sudo pkill qtox
38
     sudo pkill qtox
39
     sudo pkill firefox
39
     sudo pkill firefox
46
     if [ -f $HOME/mesh-desktop.sh ]; then
46
     if [ -f $HOME/mesh-desktop.sh ]; then
47
         $HOME/mesh-desktop.sh
47
         $HOME/mesh-desktop.sh
48
     else
48
     else
49
-        dialog --title $"New Identity" \
50
-               --msgbox $"You now have a new identity" 6 40
49
+        zenity --info --title=$"New Identity" --text=$"You now have a new identity" --width=200
51
     fi
50
     fi
52
 fi
51
 fi
53
 
52