summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index add6a2ca4..b4c6ecf0c 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -850,7 +850,7 @@ sub new {
'MagicWindow',
title => $title || '',
pop_it => $o->{pop_it},
- if_($::isInstall, banner => Gtk2::Banner->new($icon, $title)),
+ $::isInstall ? (banner => Gtk2::Banner->new($icon, $title)) : (),
child => gtknew('VBox'),
modal => $grab || $o->{grab} || $o->{modal},
if_(!$::isInstall, icon_no_error => wm_icon()),