diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-03-01 18:52:37 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-03-01 18:52:37 +0000 |
commit | 7ed60f2b5f2db1856e3b064f4f6245310d8975eb (patch) | |
tree | 7e8dc4598ece1b6ea882f737f80b55d82e744fc6 | |
parent | 556570490229535b27af0c4e4c8ebf5df0ccdd6e (diff) | |
download | mgaonline-7ed60f2b5f2db1856e3b064f4f6245310d8975eb.tar mgaonline-7ed60f2b5f2db1856e3b064f4f6245310d8975eb.tar.gz mgaonline-7ed60f2b5f2db1856e3b064f4f6245310d8975eb.tar.bz2 mgaonline-7ed60f2b5f2db1856e3b064f4f6245310d8975eb.tar.xz mgaonline-7ed60f2b5f2db1856e3b064f4f6245310d8975eb.zip |
- configure now
-rwxr-xr-x | mdkapplet | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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(); |