Bläddra i källkod

Go back to dialog

Bob Mottram 9 år sedan
förälder
incheckning
16760255e4
1 ändrade filer med 3 tillägg och 4 borttagningar
  1. 3
    4
      src/freedombone-controlpanel-user

+ 3
- 4
src/freedombone-controlpanel-user Visa fil

@@ -572,10 +572,9 @@ function syncthing_show_id {
572 572
     fi
573 573
 
574 574
     SYNCTHING_ID=$(cat ~/.syncthing-server-id)
575
-    dialog --backtitle $"Freedombone User Control Panel" \
576
-           --title $"Device ID for ${PROJECT_NAME}" \
577
-           --form $"You can copy and paste this into syncthing on your local system" 8 80 1 \
578
-           "" 1 1 "$SYNCTHING_ID" 1 0 80 80
575
+    dialog --title $"Device ID for ${PROJECT_NAME}" \
576
+           --backtitle $"Freedombone User Control Panel" \
577
+           --msgbox $"In a desktop terminal press shift and select the ID below,\nthen right click and copy.\n\nWithin Connectbot select Menu/Copy and then highlight the ID below\n\n$SYNCTHING_ID" 12 78   
579 578
 }
580 579
 
581 580
 function syncthing_add_id {