installer: Do not sort the guided partition schemes in the selection page.
authorLudovic Courtès <ludo@gnu.org>
Fri, 3 May 2019 11:48:54 +0000 (13:48 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 3 May 2019 11:50:49 +0000 (13:50 +0200)
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'.

gnu/installer/newt/partition.scm

index 2b22ac8..3fb6c50 100644 (file)
@@ -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)))