installer: parameters: Add a reboot button.
Suggested by: zimoun <zimon.toutoune@gmail.com>. * gnu/installer/newt/parameters.scm (run-parameters-page): Add a reboot button.
This commit is contained in:
parent
2c734548fd
commit
c2396ceb6e
1 changed files with 3 additions and 1 deletions
|
@ -20,6 +20,7 @@ (define-module (gnu installer newt parameters)
|
|||
#:use-module (gnu installer proxy)
|
||||
#:use-module (gnu installer steps)
|
||||
#:use-module (gnu installer newt page)
|
||||
#:use-module (guix build syscalls)
|
||||
#:use-module (guix i18n)
|
||||
#:use-module (ice-9 match)
|
||||
#:use-module (newt)
|
||||
|
@ -40,7 +41,8 @@ (define (run-parameters-page keyboard-layout-selection)
|
|||
(let* ((items
|
||||
(list
|
||||
(cons (G_ "Change keyboard layout") keyboard-layout-selection)
|
||||
(cons (G_ "Configure HTTP proxy") run-proxy-page)))
|
||||
(cons (G_ "Configure HTTP proxy") run-proxy-page)
|
||||
(cons (G_ "Reboot") reboot)))
|
||||
(result
|
||||
(run-listbox-selection-page
|
||||
#:info-text (G_ "Please choose one of the following parameters or \
|
||||
|
|
Loading…
Reference in a new issue