summaryrefslogtreecommitdiff
path: root/gnu/installer/newt/network.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-05-06 22:06:29 +0200
committerLudovic Courtès <ludo@gnu.org>2019-05-06 23:21:33 +0200
commitd1e5f758e128a3c1042c98563c5b87b81b2f187a (patch)
treee88fadea8f0070f0c86c8624a340b875179aa792 /gnu/installer/newt/network.scm
parent7ae9979cff98d7c23fc8d19e54ae733ee1a7deb2 (diff)
downloadguix-patches-d1e5f758e128a3c1042c98563c5b87b81b2f187a.tar
guix-patches-d1e5f758e128a3c1042c98563c5b87b81b2f187a.tar.gz
installer: Shrink simple listboxes to their minimum height.
* gnu/installer/newt/partition.scm (run-partioning-page): Pass #:listbox-height. (run-scheme-page): Likewise. (run-device-page): Likewise. * gnu/installer/newt/network.scm (run-technology-page): Likewise. * gnu/installer/newt/ethernet.scm (run-ethernet-page): Likewise.
Diffstat (limited to 'gnu/installer/newt/network.scm')
-rw-r--r--gnu/installer/newt/network.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/installer/newt/network.scm b/gnu/installer/newt/network.scm
index cf27a8cca2..93fc19aecd 100644
--- a/gnu/installer/newt/network.scm
+++ b/gnu/installer/newt/network.scm
@@ -73,6 +73,7 @@ network device were found. Do you want to continue anyway?"))
#:title (G_ "Internet access")
#:listbox-items items
#:listbox-item->text technology->text
+ #:listbox-height (min (+ (length items) 2) 10)
#:button-text (G_ "Exit")
#:button-callback-procedure
(lambda _