Date: Mon, 19 Apr 2021 18:42:03 GMT From: Yuri Pankov <yuripv@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: d3f0c032fb8b - main - bsdinstall: restore time selection screen Message-ID: <202104191842.13JIg3bg059538@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuripv: URL: https://cgit.FreeBSD.org/src/commit/?id=d3f0c032fb8b2d2ee8d491fa95108a3790541662 commit d3f0c032fb8b2d2ee8d491fa95108a3790541662 Author: Yuri Pankov <yuripv@FreeBSD.org> AuthorDate: 2021-04-19 18:39:59 +0000 Commit: Yuri Pankov <yuripv@FreeBSD.org> CommitDate: 2021-04-19 18:39:59 +0000 bsdinstall: restore time selection screen Apparently new dialog does not like the height of 2 for the timebox widget, use 0 (minimum size) instead. Do the same for calendar widget as it does not change the appearance and to prevent possible future surprises. Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D29720 --- usr.sbin/bsdinstall/scripts/time | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bsdinstall/scripts/time b/usr.sbin/bsdinstall/scripts/time index 67e539b53658..cccd5999a035 100755 --- a/usr.sbin/bsdinstall/scripts/time +++ b/usr.sbin/bsdinstall/scripts/time @@ -42,7 +42,7 @@ DATE=$(dialog --backtitle 'FreeBSD Installer' \ --cancel-label 'Skip' \ --defaultno \ --date-format '%Y%m%d%H%M.%S' \ - --calendar '' 2 40 \ + --calendar '' 0 40 \ 2>&1 1>&3) && date $DATE exec 3>&- @@ -54,7 +54,7 @@ TIME=$(dialog --backtitle 'FreeBSD Installer' \ --cancel-label 'Skip' \ --defaultno \ --time-format '%H%M.%S' \ - --timebox '' 2 40 \ + --timebox '' 0 40 \ 2>&1 1>&3) && date $TIME exec 3>&-
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104191842.13JIg3bg059538>