From a121e926b3d3e977dba169ba081a5b4f983b0bf5 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 10 Feb 2010 15:04:43 +0000 Subject: fix new distro popup appearing on 2008.0 after choices have been displayed --- NEWS | 1 + mdkapplet | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 706c710f..f27c53ab 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ - mdkapplet o fix dates display wrong by one month + o fix new distro popup appearing on 2008.0 after choices have been displayed Version 2.77.15.16 - 5 February 2010, Thierry Vignaud diff --git a/mdkapplet b/mdkapplet index f7f7a89a..a05fd2c3 100755 --- a/mdkapplet +++ b/mdkapplet @@ -549,7 +549,7 @@ sub no_more_supported_choice() { ), gtknew('HSeparator'), ), - if_($no_more_supported ne 'none', + ($no_more_supported ne 'none' ? ( gtknew('VBox', children_tight => [ $b2 = gtknew('RadioButton', text => N("Do you want to upgrade to the '\%s' distribution?", @@ -561,7 +561,7 @@ sub no_more_supported_choice() { new_link_button($new_distro->{url}, N("More info about this new version")), ]), gtknew('HSeparator'), - ), + ) : ()), $b3 = gtknew('RadioButton', text => N("Do not ask me next time"), toggled => sub { $choice = 'nothing' if $_[0]->get_active; -- cgit v1.2.1