diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-02-03 17:13:54 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-02-03 17:13:54 +0000 |
commit | 1c70e838cc084fc67993bff8048dfba0c89ca38a (patch) | |
tree | d77fff2cf193ab491f360f8f3fa64742449da90b /mdkapplet | |
parent | 24e9910089b9f97f397e7ed7b14c1d4cc5a2fb83 (diff) | |
download | mgaonline-1c70e838cc084fc67993bff8048dfba0c89ca38a.tar mgaonline-1c70e838cc084fc67993bff8048dfba0c89ca38a.tar.gz mgaonline-1c70e838cc084fc67993bff8048dfba0c89ca38a.tar.bz2 mgaonline-1c70e838cc084fc67993bff8048dfba0c89ca38a.tar.xz mgaonline-1c70e838cc084fc67993bff8048dfba0c89ca38a.zip |
{actions} simplify and make it consistent
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 }, ); |