From patchwork Sat Jun 8 15:43:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tobias Geerinckx-Rice X-Patchwork-Id: 14263 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C6887170B9; Sat, 8 Jun 2019 16:44:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 7E08E170B9 for ; Sat, 8 Jun 2019 16:44:17 +0100 (BST) Received: from localhost ([::1]:59142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZdVv-0007Er-88 for patchwork@mira.cbaines.net; Sat, 08 Jun 2019 11:44:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54851) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZdVo-0007DS-B4 for guix-patches@gnu.org; Sat, 08 Jun 2019 11:44:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hZdVm-0003Zc-33 for guix-patches@gnu.org; Sat, 08 Jun 2019 11:44:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40000) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hZdVi-0003XT-DD for guix-patches@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-000456-8Q for guix-patches@gnu.org; Sat, 08 Jun 2019 11:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36132] [PATCH 3/2] installer: Hide the Wi-Fi passphrase by default. References: <87y32c663d.fsf@nckx> In-Reply-To: <87y32c663d.fsf@nckx> Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 Jun 2019 15:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36132 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 36132@debbugs.gnu.org Received: via spool by 36132-submit@debbugs.gnu.org id=B36132.156000863615663 (code B ref 36132); Sat, 08 Jun 2019 15:44:02 +0000 Received: (at 36132) by debbugs.gnu.org; 8 Jun 2019 15:43:56 +0000 Received: from localhost ([127.0.0.1]:53542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZdVb-00044Y-MD for submit@debbugs.gnu.org; Sat, 08 Jun 2019 11:43:55 -0400 Received: from tobias.gr ([80.241.217.52]:46686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZdVY-00044L-VM; Sat, 08 Jun 2019 11:43:54 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id a8d4d18b; Sat, 8 Jun 2019 15:43:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=2018; i=me@tobias.gr; bh=9N62+RIC/ /pq7VU3NVuO7L6CxCCWn1Hu9b1Zw96+sIg=; b=Vhsz4ok6lXMOcLX4m5jO4b1XX FE5aVegb/rx6p8kxaoAe29wkG1O00EcBjX/prAMEBj6Y7h2MzpWweRGqWOhGVW1+ p5gZru14K+i64hTMwBUmStkvQ7YGY82SofMc34tlDcmdXddkyWeINBpVPlhhkpjA tjJ/DgKk3rSwjTkWAxbNjI/AOrsjFLLFmt4FS/s6ci6pRJBIOHO/oRX5Jcwnlq6f xj9KN3nxJmtYpbF9nUAzGMnfgsEbbcO1n0oor76GpkpKPwgjV9V9KvBheyfF1a5u bqjHz2k06oH6KDPslcrHACA3wUddz+6v0q1NgU0EiVe74TSPT0MMBVllCiN6A== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 18315f9c (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 8 Jun 2019 15:43:46 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Sat, 8 Jun 2019 17:43:38 +0200 Message-Id: <20190608154338.8064-1-me@tobias.gr> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 36135@debbugs.gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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."