Bob Mottram 7 gadus atpakaļ
vecāks
revīzija
455035e9b1
1 mainītis faili ar 2 papildinājumiem un 3 dzēšanām
  1. 2
    3
      src/freedombone-mesh-reset

+ 2
- 3
src/freedombone-mesh-reset Parādīt failu

@@ -33,7 +33,7 @@ export TEXTDOMAINDIR="/usr/share/locale"
33 33
 
34 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 37
     sudo batman stop
38 38
     sudo pkill qtox
39 39
     sudo pkill firefox
@@ -46,8 +46,7 @@ if ! zenity --question --title='New Identity' --text="Do you want to reset your
46 46
     if [ -f $HOME/mesh-desktop.sh ]; then
47 47
         $HOME/mesh-desktop.sh
48 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 50
     fi
52 51
 fi
53 52