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 --- mdkapplet | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdkapplet') 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