summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r--perl-install/mygtk2.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index cc701ab8b..37fa812ec 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -463,6 +463,7 @@ sub _gtk__MagicWindow {
};
my $sub_child = delete $opts->{child} or internal_error("missing child");
+ my $provided_banner = delete $opts->{banner};
if ($pop_it) {
$opts->{child} = $::isInstall ?
@@ -505,6 +506,9 @@ sub _gtk__MagicWindow {
$sub_child->set_border_width($::noborderWhenEmbedded ? 0 : 10);
$w = $::WizardWindow;
+
+ $::Banner->destroy if $::Banner;
+ gtkadd($::WizardTable, children_tight => [ $::Banner = $provided_banner ]) if $provided_banner;
gtkadd($::WizardTable, children_loose => [ $sub_child ]);
}
bless { real_window => $w, child => $sub_child, pop_it => $pop_it }, 'mygtk2::MagicWindow';