From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#35540: Installer displays encrypted partition password entry in cleartext Date: Mon, 06 May 2019 21:43:55 +0200 Message-ID: <87zhnzfjwk.fsf@gnu.org> References: <20190503085437.opsw5whdkzmwrbrm@pelzflorian.localdomain> <20190503113018.5be80808@scratchpost.org> <20190503115024.20787d13@sybil.lepiller.eu> <87tvebbq9v.fsf@gnu.org> <20190504210632.i3tyhzisfw6anpyb@pelzflorian.localdomain> <877eb5duxo.fsf@gmail.com> <87sgtrkijb.fsf@gnu.org> <20190506181446.qsakunri5ewvanph@pelzflorian.localdomain> <20190506192935.agzovjt2uwktoqys@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:43022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNjXr-0003iZ-LI for bug-guix@gnu.org; Mon, 06 May 2019 15:45:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNjXq-0006zm-Kc for bug-guix@gnu.org; Mon, 06 May 2019 15:45:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43949) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hNjXq-0006zg-HT for bug-guix@gnu.org; Mon, 06 May 2019 15:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hNjXq-0008OL-FB for bug-guix@gnu.org; Mon, 06 May 2019 15:45:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20190506192935.agzovjt2uwktoqys@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Mon, 6 May 2019 21:29:35 +0200") 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: "pelzflorian (Florian Pelz)" Cc: 35540@debbugs.gnu.org, Mathieu Othacehe --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "pelzflorian (Florian Pelz)" skribis: > On Mon, May 06, 2019 at 08:14:46PM +0200, pelzflorian (Florian Pelz) wrot= e: >> When creating a user account, the translation for Home Directory >> (=E2=80=9CPers=C3=B6nliches Verzeichnis=E2=80=9D) gets cut off to =E2=80= =9CPers=C3=B6nliches Verzeic=E2=80=9D, >> but I believe this is not important. >>=20 > > This cut-off happens even on higher resolution screens. Hmm well it > would be nicer if the space for the Home Directory were 4 letters > wider, but it is not all that important. I agree. I=E2=80=99ll commit the patch below, which works fine for German = (at least before the =E2=80=9CHide=E2=80=9D checkbox patch). Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/installer/newt/user.scm b/gnu/installer/newt/user.scm index deab056e0c..ac07d26c8b 100644 --- a/gnu/installer/newt/user.scm +++ b/gnu/installer/newt/user.scm @@ -34,7 +34,7 @@ "Run a form to enter the user name, home directory, and password. Use NAME, REAL-NAME, and HOME-DIRECTORY as the initial values in the form." (define (pad-label label) - (string-pad-right label 20)) + (string-pad-right label 25)) (let* ((label-name (make-label -1 -1 (pad-label (G_ "Name")))) @@ -44,7 +44,7 @@ REAL-NAME, and HOME-DIRECTORY as the initial values in the form." (make-label -1 -1 (pad-label (G_ "Home directory")))) (label-password (make-label -1 -1 (pad-label (G_ "Password")))) - (entry-width 30) + (entry-width 35) (entry-name (make-entry -1 -1 entry-width #:initial-value name)) (entry-real-name (make-entry -1 -1 entry-width --=-=-=--