aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-01-28 11:02:20 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-01-28 11:02:20 +0000
commit63cfbd0cb7bfd4ba581b7430d8311758507bc2b0 (patch)
tree920978b0d33026958f3d49112774696010f1da91 /edit-urpm-sources.pl
parent75455dd81b6a485a28c2a4bb16aed0951c1315ce (diff)
downloadrpmdrake-63cfbd0cb7bfd4ba581b7430d8311758507bc2b0.tar
rpmdrake-63cfbd0cb7bfd4ba581b7430d8311758507bc2b0.tar.gz
rpmdrake-63cfbd0cb7bfd4ba581b7430d8311758507bc2b0.tar.bz2
rpmdrake-63cfbd0cb7bfd4ba581b7430d8311758507bc2b0.tar.xz
rpmdrake-63cfbd0cb7bfd4ba581b7430d8311758507bc2b0.zip
fix thx to titi
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-xedit-urpm-sources.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index d05a582c..8731bfe2 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -213,7 +213,7 @@ sub proxy_callback {
my $w = ugtk2->new(N("Configure proxies"), grab => 1, center => 1, transient => $mainw->{rwindow});
my ($proxy, $proxy_user) = curl_download::readproxy();
my ($user, $pass) = $proxy_user =~ /^(.+):(.+)$/;
- my ($proxybutton, $proxyentry, $proxyuserbutton, $proxyuserentry);
+ my ($proxybutton, $proxyentry, $proxyuserbutton, $proxyuserentry, $proxypasswordentry);
gtkadd($w->{window},
gtkpack__(Gtk2::VBox->new(0, 5),
Gtk2::Label->new(N("If you need a proxy, enter the hostname and an optional port (syntax: <proxyhost[:port]>):")),
@@ -225,7 +225,7 @@ sub proxy_callback {
0, gtkset_active($proxyuserbutton = Gtk2::CheckButton->new(N("User:")), to_bool($proxy_user)),
1, gtkset_sensitive($proxyuserentry = gtkentry($user), to_bool($proxy_user)),
0, Gtk2::Label->new(N("Password:")),
- 1, gtkset_visibility(gtkset_sensitive(my $proxypasswordentry = gtkentry($pass), to_bool($proxy_user)), 0)),
+ 1, gtkset_visibility(gtkset_sensitive($proxypasswordentry = gtkentry($pass), to_bool($proxy_user)), 0)),
Gtk2::HSeparator->new,
gtkpack(create_hbox(),
gtksignal_connect(Gtk2::Button->new(N("Ok")), clicked => sub {