summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-28 07:25:32 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-28 07:25:32 +0000
commitaaf848ee14feb7a2b32975c9d7ef47157e6d7e43 (patch)
treeea34844f29c9dab0f75d5f5c9531a48cf590e406 /mdkapplet
parente5cdb9131ef60e317501ecc49c96506260c3c7b4 (diff)
downloadmgaonline-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)
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdkapplet b/mdkapplet
index fd6b542c..dad5cf9d 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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 {