summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-03-03 10:51:58 +0000
committerDaouda Lo <daouda@mandriva.com>2004-03-03 10:51:58 +0000
commitdc5ff9dba592685df6d232e91ab2f9ea9bb0e3a5 (patch)
treeec46caa2d65e96434379460fa0039d3f5fd1c123
parentcf70b9c7620367a6af593452c86ce3e70d4656cd (diff)
downloadmgaonline-dc5ff9dba592685df6d232e91ab2f9ea9bb0e3a5.tar
mgaonline-dc5ff9dba592685df6d232e91ab2f9ea9bb0e3a5.tar.gz
mgaonline-dc5ff9dba592685df6d232e91ab2f9ea9bb0e3a5.tar.bz2
mgaonline-dc5ff9dba592685df6d232e91ab2f9ea9bb0e3a5.tar.xz
mgaonline-dc5ff9dba592685df6d232e91ab2f9ea9bb0e3a5.zip
- support of proxy (olivier blin)
-rwxr-xr-xmdkapplet2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index dd043794..95616eb9 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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);