diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-08-27 03:35:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-08-27 03:35:47 +0000 |
commit | 93239e157bfbe144421660cf1d21fe611447c21a (patch) | |
tree | dc8e1cd651e79a21d93db51f5ab64cce0da13e6c | |
parent | b01c599891d2478260ed2382ccd135860e5e3e30 (diff) | |
download | drakx-93239e157bfbe144421660cf1d21fe611447c21a.tar drakx-93239e157bfbe144421660cf1d21fe611447c21a.tar.gz drakx-93239e157bfbe144421660cf1d21fe611447c21a.tar.bz2 drakx-93239e157bfbe144421660cf1d21fe611447c21a.tar.xz drakx-93239e157bfbe144421660cf1d21fe611447c21a.zip |
(_gtk__MagicWindow) add a banner w/o margin if provided one
-rw-r--r-- | perl-install/mygtk2.pm | 4 |
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'; |