diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-02-03 17:16:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-02-03 17:16:03 +0000 |
commit | 30cf8c96b3047bbc07229d104f84cc60b28337a6 (patch) | |
tree | 38a1ef3c3539eeb11f59f31c667c1935d3bab145 /mdkapplet | |
parent | 1c70e838cc084fc67993bff8048dfba0c89ca38a (diff) | |
download | mgaonline-30cf8c96b3047bbc07229d104f84cc60b28337a6.tar mgaonline-30cf8c96b3047bbc07229d104f84cc60b28337a6.tar.gz mgaonline-30cf8c96b3047bbc07229d104f84cc60b28337a6.tar.bz2 mgaonline-30cf8c96b3047bbc07229d104f84cc60b28337a6.tar.xz mgaonline-30cf8c96b3047bbc07229d104f84cc60b28337a6.zip |
(activate signal) rename a variable for clarity
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -231,7 +231,7 @@ $icon->signal_connect(popup_menu => sub { $menu and $menu->popup(undef, undef, undef, undef, $button, $time); }); $icon->signal_connect(activate => sub { - my %actions = ( + my %click_actions = ( unconfigured_restricted_media => \&prepare_add_restricted, no_update_medium => \&add_media, no_enterprise_update_medium => \&prepare_add_enterprise_update_media, @@ -246,7 +246,7 @@ $icon->signal_connect(activate => sub { $action = 'updates'; } - $actions{$action}->() if ref $actions{$action}; + $click_actions{$action}->() if ref $click_actions{$action}; }); foreach my $opt (@ARGV) { if ($opt eq '--force' || $opt eq '-f') { setAutoStart('TRUE') } |