summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdkapplet b/mdkapplet
index 6cbcdd4c..de0d449c 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -51,7 +51,7 @@ my %state = (
critical => {
colour => [ 'orange' ],
changes => [ 'okay', 'busy', 'critical', 'disconnected' ],
- menu => [ 'update', 'configureApplet', 'check', 'weblink' ],
+ menu => [ 'configureApplet', 'check', 'weblink' ],
tt => [ N("Config problems. Launch \"configure\" again") ]
},
busy => {
@@ -86,7 +86,7 @@ my %state = (
}
);
my %actions = (
- 'update' => { name => N("Launch Mandrake Update"), launch => sub { launchUpdate() } },
+ 'update' => { name => N("Launch Mandrake Update"), launch => sub { installUpdates() } },
'configureApplet' => { name => N("Configuration"), launch => sub { configure() } },
'check' => { name => N("Check Updates"), launch => sub { checkUpdates() } },
'weblink' => { name => N("Online WebSite"), launch => sub { getSite() } },
@@ -183,7 +183,7 @@ sub silentCheck {
my $lnk = $link . '&log=' . $h{LOGIN} . '&host=' . $h{MACHINE};
my $response = $ua->request($request);
my $ct = $response->content;
- print "\nCONTENTS = $ct; link = $lnk \n";
+# print "\nCONTENTS = $ct; link = $lnk \n";
if ($ct =~ /rpm/) { $u = 11 } elsif ($ct =~ m/(\d+)/) { $u = sprintf("%d",$1); } else { $u = 10 };
# 99 - log or host or action or pass empty, wrong action
# 98 - wrong pass