aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-01-29 23:00:00 +0000
committerThierry Vignaud <tv@mandriva.org>2008-01-29 23:00:00 +0000
commit83b2c1dc23c190d70f0a936daa0d5db5ad53e270 (patch)
tree15c134ab8f1a25006d72dba4361716e4184e7c2a
parent500cba9448af25e460962c25a478b826dfe3bd71 (diff)
downloadrpmdrake-83b2c1dc23c190d70f0a936daa0d5db5ad53e270.tar
rpmdrake-83b2c1dc23c190d70f0a936daa0d5db5ad53e270.tar.gz
rpmdrake-83b2c1dc23c190d70f0a936daa0d5db5ad53e270.tar.bz2
rpmdrake-83b2c1dc23c190d70f0a936daa0d5db5ad53e270.tar.xz
rpmdrake-83b2c1dc23c190d70f0a936daa0d5db5ad53e270.zip
(proxy_callback) lazy load curl_download now that rpmdrake.pm doesn't
do it anymore
-rw-r--r--Rpmdrake/edit_urpm_sources.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index deafbea2..2222b644 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -508,6 +508,7 @@ sub proxy_callback {
my $medium_name = $medium ? $medium->{name} : '';
my $w = ugtk2->new(N("Configure proxies"), grab => 1, center => 1, transient => $::main_window);
local $::main_window = $w->{real_window};
+ require curl_download;
my ($proxy, $proxy_user) = curl_download::readproxy($medium_name);
my ($user, $pass) = $proxy_user =~ /^([^:]*):(.*)$/;
my ($proxybutton, $proxyentry, $proxyuserbutton, $proxyuserentry, $proxypasswordentry);