diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-05-06 22:06:29 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-05-06 23:21:33 +0200 |
commit | d1e5f758e128a3c1042c98563c5b87b81b2f187a (patch) | |
tree | e88fadea8f0070f0c86c8624a340b875179aa792 /gnu/installer/newt/partition.scm | |
parent | 7ae9979cff98d7c23fc8d19e54ae733ee1a7deb2 (diff) | |
download | guix-d1e5f758e128a3c1042c98563c5b87b81b2f187a.tar.gz guix-d1e5f758e128a3c1042c98563c5b87b81b2f187a.zip |
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/partition.scm')
-rw-r--r-- | gnu/installer/newt/partition.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/installer/newt/partition.scm b/gnu/installer/newt/partition.scm index 9e9c57e957..6de8d139cf 100644 --- a/gnu/installer/newt/partition.scm +++ b/gnu/installer/newt/partition.scm @@ -49,6 +49,7 @@ #:title (G_ "Partition scheme") #:listbox-items items #:listbox-item->text cdr + #:listbox-height 4 #:sort-listbox-items? #f ;keep the 'root' option first #:button-text (G_ "Exit") #:button-callback-procedure button-exit-action))) @@ -78,6 +79,7 @@ DEVICES list." #:title (G_ "Disk") #:listbox-items (device-items) #:listbox-item->text cdr + #:listbox-height 10 #:button-text (G_ "Exit") #:button-callback-procedure button-exit-action)) (device (car result))) @@ -732,6 +734,7 @@ by pressing the Exit button.~%~%"))) (result (run-listbox-selection-page #:info-text (G_ "Please select a partitioning method.") #:title (G_ "Partitioning method") + #:listbox-height (+ (length items) 2) #:listbox-items items #:listbox-item->text cdr #:sort-listbox-items? #f |