[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
69/197: installer: Remove "continue" button from host name page.
From: |
Danny Milosavljevic |
Subject: |
69/197: installer: Remove "continue" button from host name page. |
Date: |
Mon, 3 Jul 2017 20:37:02 -0400 (EDT) |
dannym pushed a commit to branch wip-installer-2
in repository guix.
commit 8210877b496b2a8c09f34c385f54a8f99946def3
Author: John Darrington <address@hidden>
Date: Tue Jan 3 11:20:15 2017 +0100
installer: Remove "continue" button from host name page.
* gnu/system/installer/hostname.scm (host-name-key-handler): Add handler
for the select key.
---
gnu/system/installer/hostname.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/gnu/system/installer/hostname.scm
b/gnu/system/installer/hostname.scm
index aecc327..be5181f 100644
--- a/gnu/system/installer/hostname.scm
+++ b/gnu/system/installer/hostname.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016 John Darrington <address@hidden>
+;;; Copyright © 2016, 2017 John Darrington <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -68,7 +68,11 @@
(dev (page-datum page 'device)))
(cond
- ((buttons-key-matches-symbol? nav ch 'continue)
+ ((buttons-key-matches-symbol? nav ch 'back)
+ (set! page-stack (cdr page-stack))
+ ((page-refresh (car page-stack)) (car page-stack)))
+
+ ((select-key? ch)
(set! host-name (form-get-value form 0))
(set! page-stack (cdr page-stack))
((page-refresh (car page-stack)) (car page-stack)))
@@ -107,7 +111,7 @@
(form-enter form ch)))
#f))
-(define my-buttons `((continue ,(N_ "Continue") #f)))
+(define my-buttons `((back ,(N_ "Back") #f)))
(define (host-name-init p)
(let* ((s (page-surface p))
- 80/197: installer: Ignore case in button accelerators., (continued)
- 80/197: installer: Ignore case in button accelerators., Danny Milosavljevic, 2017/07/03
- 86/197: installer: slurp: Ignore blank lines in output., Danny Milosavljevic, 2017/07/03
- 76/197: installer: New procedure "page-leave"., Danny Milosavljevic, 2017/07/03
- 84/197: installer: Use guix build syscalls module for network interrogation., Danny Milosavljevic, 2017/07/03
- 94/197: installer: Add the notion of uuids to prospective filesystems., Danny Milosavljevic, 2017/07/03
- 89/197: installer: Make the network menu more reliable., Danny Milosavljevic, 2017/07/03
- 90/197: installer: Enable direct scrolling to top or bottom of menus., Danny Milosavljevic, 2017/07/03
- 78/197: installer: Ensure that the cursor visibility is updated on each page., Danny Milosavljevic, 2017/07/03
- 107/197: installer: Do not allow the creation of invalid file-system specificaitons., Danny Milosavljevic, 2017/07/03
- 57/197: installer: Add a console-keymap service., Danny Milosavljevic, 2017/07/03
- 69/197: installer: Remove "continue" button from host name page.,
Danny Milosavljevic <=
- 58/197: installer: Add flags to indicate network interface status., Danny Milosavljevic, 2017/07/03
- 72/197: installer: Use --fallback when installing., Danny Milosavljevic, 2017/07/03
- 73/197: installer: Correct behaviour of push-cursor and pop-cursor procedures., Danny Milosavljevic, 2017/07/03
- 77/197: installer: New procedure: page-enter., Danny Milosavljevic, 2017/07/03
- 82/197: installer: Rename 'file-browser.scm' to 'key-map.scm'., Danny Milosavljevic, 2017/07/03
- 63/197: installer: Change essid --> wireless., Danny Milosavljevic, 2017/07/03
- 70/197: installer: Rename "file-browser" -> "time-zone"., Danny Milosavljevic, 2017/07/03
- 81/197: installer: Make all windows with ports scrollable., Danny Milosavljevic, 2017/07/03
- 62/197: installer: Add page with which the wifi password can be entered., Danny Milosavljevic, 2017/07/03
- 75/197: installer: Remove pointless calls to delwin., Danny Milosavljevic, 2017/07/03