summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-02-03 17:13:54 +0000
committerThierry Vignaud <tv@mandriva.org>2010-02-03 17:13:54 +0000
commit1c70e838cc084fc67993bff8048dfba0c89ca38a (patch)
treed77fff2cf193ab491f360f8f3fa64742449da90b
parent24e9910089b9f97f397e7ed7b14c1d4cc5a2fb83 (diff)
downloadmgaonline-1c70e838cc084fc67993bff8048dfba0c89ca38a.tar
mgaonline-1c70e838cc084fc67993bff8048dfba0c89ca38a.tar.gz
mgaonline-1c70e838cc084fc67993bff8048dfba0c89ca38a.tar.bz2
mgaonline-1c70e838cc084fc67993bff8048dfba0c89ca38a.tar.xz
mgaonline-1c70e838cc084fc67993bff8048dfba0c89ca38a.zip
{actions} simplify and make it consistent
-rwxr-xr-xmdkapplet4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkapplet b/mdkapplet
index f77d999f..12197f5b 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -216,11 +216,11 @@ my %comm_codes = (
);
my %actions = (
- 'update' => { name => N("Install updates"), launch => sub { installUpdates() } },
+ 'update' => { name => N("Install updates"), launch => \&installUpdates },
'add_restricted_media' => { name => N("Add additional package medium"), launch => \&prepare_add_restricted },
'add_enterprise_update_medium' => { name => N("Add additional package medium"), launch => \&prepare_add_enterprise_update_media },
'check' => { name => N("Check Updates"), launch => \&checkUpdates },
- 'confNetwork' => { name => N("Configure Network"), launch => sub { configNetwork() } },
+ 'confNetwork' => { name => N("Configure Network"), launch => \&configNetwork },
'upgrade_distro' => { name => N("Upgrade the system"), launch => \&upgrade },
);