From 7ed60f2b5f2db1856e3b064f4f6245310d8975eb Mon Sep 17 00:00:00 2001 From: Daouda Lo Date: Mon, 1 Mar 2004 18:52:37 +0000 Subject: - configure now --- mdkapplet | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mdkapplet') 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(); -- cgit v1.2.1