summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-02-10 15:04:43 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-02-10 15:04:43 +0000
commita121e926b3d3e977dba169ba081a5b4f983b0bf5 (patch)
tree4cfd45cff9b2b166ffdf85b16bc2a736a5495f09 /mdkapplet
parente64e12badf8b65f00008987d28c02fb6a167f4ed (diff)
downloadmgaonline-a121e926b3d3e977dba169ba081a5b4f983b0bf5.tar
mgaonline-a121e926b3d3e977dba169ba081a5b4f983b0bf5.tar.gz
mgaonline-a121e926b3d3e977dba169ba081a5b4f983b0bf5.tar.bz2
mgaonline-a121e926b3d3e977dba169ba081a5b4f983b0bf5.tar.xz
mgaonline-a121e926b3d3e977dba169ba081a5b4f983b0bf5.zip
fix new distro popup appearing on 2008.0 after choices have been displayed
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet4
1 files changed, 2 insertions, 2 deletions
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;