From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: bug#36135: [PATCH 3/2] installer: Hide the Wi-Fi passphrase by default. Date: Sat, 8 Jun 2019 17:43:38 +0200 Message-ID: <20190608154338.8064-1-me@tobias.gr> References: <20190608151502.5d22d7e8@tachikoma.lepiller.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54850) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZdVo-0007DR-B7 for bug-guix@gnu.org; Sat, 08 Jun 2019 11:44:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hZdVm-0003ZX-2h for bug-guix@gnu.org; Sat, 08 Jun 2019 11:44:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40001) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hZdVi-0003Xj-Rt for bug-guix@gnu.org; Sat, 08 Jun 2019 11:44:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hZdVi-00045E-Ou for bug-guix@gnu.org; Sat, 08 Jun 2019 11:44:02 -0400 In-Reply-To: <20190608151502.5d22d7e8@tachikoma.lepiller.eu> Sender: "Debbugs-submit" Resent-Message-ID: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 36132@debbugs.gnu.org Cc: 36135@debbugs.gnu.org * gnu/installer/newt/wifi.scm (run-wifi-password-page): Add an #:INPUT-SHOW-CHECKBOX? to the input page. --- Guix, This adds a ‘[ ] Show’ checkbox to the newt installer's Wi-Fi passphrase input field, which has also been requested at least twice now. Most recently here[0]. Kind regards, T G-R [0]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36135 gnu/installer/newt/wifi.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/installer/newt/wifi.scm b/gnu/installer/newt/wifi.scm index 1cb2ef2df3..040e013293 100644 --- a/gnu/installer/newt/wifi.scm +++ b/gnu/installer/newt/wifi.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018 Mathieu Othacehe ;;; Copyright © 2019 Meiyo Peng +;;; Copyright © 2019 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -88,7 +89,8 @@ nmc_wifi_strength_bars." (define (run-wifi-password-page) "Run a page prompting user for a password and return it." (run-input-page (G_ "Please enter the wifi password.") - (G_ "Password required"))) + (G_ "Password required") + #:input-show-checkbox? #t)) (define (run-wrong-password-page service-name) "Run a page to inform user of a wrong password input." -- 2.21.0