summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-03-01 18:52:37 +0000
committerDaouda Lo <daouda@mandriva.com>2004-03-01 18:52:37 +0000
commit7ed60f2b5f2db1856e3b064f4f6245310d8975eb (patch)
tree7e8dc4598ece1b6ea882f737f80b55d82e744fc6 /mdkapplet
parent556570490229535b27af0c4e4c8ebf5df0ccdd6e (diff)
downloadmgaonline-7ed60f2b5f2db1856e3b064f4f6245310d8975eb.tar
mgaonline-7ed60f2b5f2db1856e3b064f4f6245310d8975eb.tar.gz
mgaonline-7ed60f2b5f2db1856e3b064f4f6245310d8975eb.tar.bz2
mgaonline-7ed60f2b5f2db1856e3b064f4f6245310d8975eb.tar.xz
mgaonline-7ed60f2b5f2db1856e3b064f4f6245310d8975eb.zip
- configure now
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet10
1 files changed, 5 insertions, 5 deletions
diff --git a/mdkapplet b/mdkapplet
index 840151c5..ddb380a5 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -84,8 +84,8 @@ my %actions = (
'configureApplet' => { name => N("Configuration"), launch => sub { configure() } },
'check' => { name => N("Check Updates"), launch => sub { checkUpdates() } },
'weblink' => { name => N("Online WebSite"), launch => sub { getSite() } },
- 'confNetwork' => { name => N("Configure Network"), sub { configNetwork() } },
- 'register' => { name => N("Register Now!"), sub { configure() } }
+ 'confNetwork' => { name => N("Configure Network"), launch => sub { configNetwork() } },
+ 'register' => { name => N("Configure Now!"), launch => sub { configure() } }
);
gtkadd(my $icon = Gtk2::TrayIcon->new("MdkApplet"),
@@ -186,8 +186,8 @@ sub silentCheck {
sub cronUpdate {
my ($to) = shift;
$timeout = Glib::Timeout->add(60*60*1000, sub {
- checkUpdates()
- 1;
+ checkUpdates();
+ 1;
});
}
sub checkUpdates {
@@ -213,7 +213,7 @@ sub isNetwork {
$network;
}
sub configure {
- system "/usr/sbin/mdkonline &";
+ system "/usr/sbin/drakclock &";
}
sub getSite {
my $b = browser();