summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index a3e68e1f8..5805590a7 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -845,10 +845,12 @@ sub new {
my $o = bless { %opts }, $type;
while (my $e = shift @tempory::objects) { $e->destroy }
+ my $icon = find { _find_imgfile($_) } $opts{icon}, 'banner-generic-ad',;
my $window = gtknew(
'MagicWindow',
title => $title || '',
pop_it => $o->{pop_it},
+ if_($::isInstall, banner => Gtk2::Banner->new($icon, $title)),
child => gtknew('VBox'),
modal => $grab || $o->{grab} || $o->{modal},
if_(!$::isInstall, icon_no_error => wm_icon()),