diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-01-28 07:25:32 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-01-28 07:25:32 +0000 |
commit | aaf848ee14feb7a2b32975c9d7ef47157e6d7e43 (patch) | |
tree | ea34844f29c9dab0f75d5f5c9531a48cf590e406 | |
parent | e5cdb9131ef60e317501ecc49c96506260c3c7b4 (diff) | |
download | mgaonline-aaf848ee14feb7a2b32975c9d7ef47157e6d7e43.tar mgaonline-aaf848ee14feb7a2b32975c9d7ef47157e6d7e43.tar.gz mgaonline-aaf848ee14feb7a2b32975c9d7ef47157e6d7e43.tar.bz2 mgaonline-aaf848ee14feb7a2b32975c9d7ef47157e6d7e43.tar.xz mgaonline-aaf848ee14feb7a2b32975c9d7ef47157e6d7e43.zip |
(refresh_no_more_supported_msg,no_more_supported_choice) fix testing
for availability of extended maintenance
(basically reverting part of r265341)
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | mdkapplet | 6 |
2 files changed, 6 insertions, 3 deletions
@@ -1,3 +1,6 @@ +- mdkapplet + o fix a test + Version 2.77.15.4 - 27 January 2010, Thierry Vignaud - mdkapplet-extended-maintenance-helper @@ -473,7 +473,7 @@ sub refresh_no_more_supported_msg() { my $msg; # is extended maintenance available? - if (is_extmaint_supported()) { + if ($extended_maintenance_url) { if ($no_more_supported eq 'none') { $msg = N("You should get extended maintenance."); } else { @@ -493,13 +493,13 @@ sub no_more_supported_choice() { local $mdkapplet_gui::width = 580; my $w = new_portable_dialog(N("Your distribution is no longer supported")); my ($b1, $b2, $b3); - my $choice = is_extmaint_supported() ? 'extended' : ($no_more_supported ne 'none' ? 'upgrade' : undef); + my $choice = $extended_maintenance_url ? 'extended' : ($no_more_supported ne 'none' ? 'upgrade' : undef); my @widgets = ( get_banner(), gtknew('Label_Left', text => get_obsolete_message() . "\n", @common), - if_(is_extmaint_supported(), + if_($extended_maintenance_url, $b1 = gtknew('RadioButton', text => N("Purchase a maintenance extension for this version (%s) and keep it running until.", $product_id->{version}), toggled => sub { |