svn commit: r309990 - head/usr.sbin/bsdinstall/scripts

Devin Teske dteske at FreeBSD.org
Tue Dec 13 02:42:12 UTC 2016


Author: dteske
Date: Tue Dec 13 02:42:10 2016
New Revision: 309990
URL: https://svnweb.freebsd.org/changeset/base/309990

Log:
  Calculate proper size of menu list dialog

Modified:
  head/usr.sbin/bsdinstall/scripts/wlanconfig

Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/wlanconfig	Tue Dec 13 02:40:54 2016	(r309989)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig	Tue Dec 13 02:42:10 2016	(r309990)
@@ -224,6 +224,8 @@ while :; do
 	f_dialog_title "Network Selection"
 	prompt="Select a wireless network to connect to."
 	menu_list=$( echo $NETWORKS | tr '\n' ' ' )
+	f_dialog_menu_size height width rows "$DIALOG_TITLE" \
+		"$DIALOG_BACKTITLE" "$prompt" "" $menu_list
 	NETWORK=$( eval $DIALOG \
 		--title \"\$DIALOG_TITLE\"         \
 		--backtitle \"\$DIALOG_BACKTITLE\" \


More information about the svn-src-head mailing list