summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS1
-rwxr-xr-xmdkapplet4
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;