diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-02-03 17:22:58 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-02-03 17:22:58 +0000 |
commit | a9c93cc1343900848289b2dc0f2c9765e1802db0 (patch) | |
tree | bce9278336884e411b4f15a3baf7d44dcfe914a1 /mdkapplet | |
parent | ae254996ca6a1057933535abf0e7b8c2307710bd (diff) | |
download | mgaonline-a9c93cc1343900848289b2dc0f2c9765e1802db0.tar mgaonline-a9c93cc1343900848289b2dc0f2c9765e1802db0.tar.gz mgaonline-a9c93cc1343900848289b2dc0f2c9765e1802db0.tar.bz2 mgaonline-a9c93cc1343900848289b2dc0f2c9765e1802db0.tar.xz mgaonline-a9c93cc1343900848289b2dc0f2c9765e1802db0.zip |
_more_supported) prevent displaying twice the same dialog
and add a FIXME note
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -409,6 +409,7 @@ sub harvester { return @pids; } +# FIXME: we can run many drakconnect when network is down: sub configNetwork() { log::explanations(N_("Launching drakconnect\n")); fork_exec("/usr/sbin/drakconnect"); @@ -569,8 +570,10 @@ sub no_more_supported_choice() { } +my $no_more_supported_wip; sub no_more_supported() { - return if $mdv_update_pid; + return if $mdv_update_pid || $no_more_supported_wip; + $no_more_supported_wip = 1; my $choice = no_more_supported_choice(); if ($choice eq 'upgrade') { really_confirm_upgrade() and real_upgrade(); @@ -579,6 +582,7 @@ sub no_more_supported() { } elsif ($choice eq 'nothing') { $icon->set_visible(0); } + undef $no_more_supported_wip; } |