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\" \
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to