guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: installer: Do not sort the guided partition schemes in the select


From: guix-commits
Subject: 02/02: installer: Do not sort the guided partition schemes in the selection page.
Date: Fri, 3 May 2019 07:50:56 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 9d2d9cb14bd505e25ae47a3d51725a320daa6f00
Author: Ludovic Court├Ęs <address@hidden>
Date:   Fri May 3 13:48:54 2019 +0200

    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'.
---
 gnu/installer/newt/partition.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/installer/newt/partition.scm b/gnu/installer/newt/partition.scm
index 2b22ac8..3fb6c50 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]