diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-03-03 10:51:58 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-03-03 10:51:58 +0000 |
commit | dc5ff9dba592685df6d232e91ab2f9ea9bb0e3a5 (patch) | |
tree | ec46caa2d65e96434379460fa0039d3f5fd1c123 | |
parent | cf70b9c7620367a6af593452c86ce3e70d4656cd (diff) | |
download | mgaonline-dc5ff9dba592685df6d232e91ab2f9ea9bb0e3a5.tar mgaonline-dc5ff9dba592685df6d232e91ab2f9ea9bb0e3a5.tar.gz mgaonline-dc5ff9dba592685df6d232e91ab2f9ea9bb0e3a5.tar.bz2 mgaonline-dc5ff9dba592685df6d232e91ab2f9ea9bb0e3a5.tar.xz mgaonline-dc5ff9dba592685df6d232e91ab2f9ea9bb0e3a5.zip |
- support of proxy (olivier blin)
-rwxr-xr-x | mdkapplet | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -102,6 +102,7 @@ $eventbox->signal_connect(button_press_event => sub { $_[1]->button == 3 && $menu and $menu->popup(undef, undef, undef, undef, $_[1]->button, $_[1]->time); }); + checkUpdates(); cronUpdate(); @@ -173,6 +174,7 @@ sub silentCheck { require HTTP::Request; my $ua = LWP::UserAgent->new; $ua->agent("MdkAppletAgent/0.1" . $ua->agent); + $ua->env_proxy; # my $request = HTTP::Request->new(GET => $link . '&log=' . "ayomigration" . '&host=' . "online"); my $request = HTTP::Request->new(GET => $link . '&log=' . $h{LOGIN} . '&host=' . $h{BOX}); my $response = $ua->request($request); |