summaryrefslogtreecommitdiff
path: root/gnu/installer/newt
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-05-03 13:48:54 +0200
committerLudovic Courtès <ludo@gnu.org>2019-05-03 13:50:49 +0200
commit9d2d9cb14bd505e25ae47a3d51725a320daa6f00 (patch)
treefd2af0ec2b1047aa5e1cbecc88f96e3922ba8e7f /gnu/installer/newt
parentecb0df6817eb3767e6b4dcf1945f3c2dfbe3b44f (diff)
installer: Do not sort the guided partition schemes in the selection page.
Previously, the "Everything is one partition" entry would come first in English but it would be second in French. This change keeps it the first choice regardless of the language. * gnu/installer/newt/partition.scm (run-scheme-page): Pass #:sort-listbox-items? to 'run-scheme-page'.
Diffstat (limited to 'gnu/installer/newt')
-rw-r--r--gnu/installer/newt/partition.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/installer/newt/partition.scm b/gnu/installer/newt/partition.scm
index 2b22ac85b4..3fb6c5079e 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
+ #:sort-listbox-items? #f ;keep the 'root' option first
#:button-text (G_ "Exit")
#:button-callback-procedure button-exit-action)))
(car result)))