summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-02-03 17:16:03 +0000
committerThierry Vignaud <tv@mandriva.org>2010-02-03 17:16:03 +0000
commit30cf8c96b3047bbc07229d104f84cc60b28337a6 (patch)
tree38a1ef3c3539eeb11f59f31c667c1935d3bab145 /mdkapplet
parent1c70e838cc084fc67993bff8048dfba0c89ca38a (diff)
downloadmgaonline-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-xmdkapplet4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkapplet b/mdkapplet
index 12197f5b..b1ab09fd 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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') }