summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-03-03 14:18:16 +0000
committerDaouda Lo <daouda@mandriva.com>2004-03-03 14:18:16 +0000
commit3d679cd2a82a9065c19981b4d30c2a3345b27369 (patch)
tree64e5c27b5bc08edc29da3e54b87b53837a965f1d /mdkapplet
parent71d6845b9873e7ce81592adf66d5a8585807c64b (diff)
downloadmgaonline-3d679cd2a82a9065c19981b4d30c2a3345b27369.tar
mgaonline-3d679cd2a82a9065c19981b4d30c2a3345b27369.tar.gz
mgaonline-3d679cd2a82a9065c19981b4d30c2a3345b27369.tar.bz2
mgaonline-3d679cd2a82a9065c19981b4d30c2a3345b27369.tar.xz
mgaonline-3d679cd2a82a9065c19981b4d30c2a3345b27369.zip
- fix for online link
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet8
1 files changed, 3 insertions, 5 deletions
diff --git a/mdkapplet b/mdkapplet
index 95616eb9..21af052a 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -102,7 +102,6 @@ $eventbox->signal_connect(button_press_event => sub {
$_[1]->button == 3 && $menu and $menu->popup(undef, undef, undef, undef, $_[1]->button, $_[1]->time);
});
-
checkUpdates();
cronUpdate();
@@ -160,9 +159,7 @@ sub launchUpdate {
system "/usr/sbin/MandrakeUpdate &";
}
sub installUpdates {
- # system "/usr/sbin/mdkupdate", "--applet";
- $menu && $menu->destroy;
- $menu = setState('error');
+ system "/usr/sbin/mdkupdate", "--applet";
}
sub silentCheck {
my $link = "https://www.mandrakeonline.net/online3_RemoteAction.php/" . '?action=UpdateList';
@@ -263,5 +260,6 @@ sub setState {
$menu
}
sub about {
-
+ my $b = browser();
+ system("$b " . "https://mandrakeonline.net/info.php" . "&")
}