summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-10-06 00:12:26 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 23:28:09 +0100
commitbc357e50bf8e0a68f2878ef8d5fce82a903d9cd6 (patch)
treea330a389820554adc5eccc8aa3d9df397e2921c1
parenta073af0416c371a1060bafc4bb66ab89cedf5c74 (diff)
downloaddrakx-bc357e50bf8e0a68f2878ef8d5fce82a903d9cd6.tar
drakx-bc357e50bf8e0a68f2878ef8d5fce82a903d9cd6.tar.gz
drakx-bc357e50bf8e0a68f2878ef8d5fce82a903d9cd6.tar.bz2
drakx-bc357e50bf8e0a68f2878ef8d5fce82a903d9cd6.tar.xz
drakx-bc357e50bf8e0a68f2878ef8d5fce82a903d9cd6.zip
better test for the banner widget
make this test work whatever is used to implement our banners
-rw-r--r--perl-install/mygtk3.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm
index 8b29c1211..e5b2e486b 100644
--- a/perl-install/mygtk3.pm
+++ b/perl-install/mygtk3.pm
@@ -885,7 +885,7 @@ sub _gtk__MagicWindow {
my $pop_it = delete $opts->{pop_it} || !$::isWizard && !$::isEmbedded || $::WizardTable && do {
#- do not take into account the wizard banner
# FIXME!!!
- any { !$_->isa('Gtk3::DrawingArea') && $_->get_visible } $::WizardTable->get_children;
+ any { $_->get_name ne 'Banner' && $_->get_visible } $::WizardTable->get_children;
};
my $pop_and_reuse = delete $opts->{pop_and_reuse} && $pop_it;