aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-04-27 14:24:39 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-04-27 14:24:39 +0000
commit08343d190097b773eb1af0296ba14e4c7883cd0c (patch)
treec9a495347633e270b0dfa7287174083cdefb41c2
parenta7503387944a905644cc4123848b74075fb7808b (diff)
downloadrpmdrake-08343d190097b773eb1af0296ba14e4c7883cd0c.tar
rpmdrake-08343d190097b773eb1af0296ba14e4c7883cd0c.tar.gz
rpmdrake-08343d190097b773eb1af0296ba14e4c7883cd0c.tar.bz2
rpmdrake-08343d190097b773eb1af0296ba14e4c7883cd0c.tar.xz
rpmdrake-08343d190097b773eb1af0296ba14e4c7883cd0c.zip
Don't show passwords being typed
-rw-r--r--rpmdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index e78e9eef..93a2972a 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -109,7 +109,7 @@ sub rpmdrake::prompt::prompt {
(map { gtkpack(
Gtk2::HBox->new(0, 5),
Gtk2::Label->new($self->{prompts}[$_]),
- $answers[$_] = gtkentry(),
+ $answers[$_] = gtkset_visibility(gtkentry(), !$self->{hidden}[$_]),
) } 0 .. $#{$self->{prompts}}),
gtksignal_connect(Gtk2::Button->new(N("Ok")), clicked => sub { Gtk2->main_quit }),
),