summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-17 13:38:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-17 13:38:32 +0000
commit4a78d0792f739c91baa551a525c5c6cf6da3fb1a (patch)
tree6e915aa19b5ffac9dae8a6b534c99981f823cfe1 /perl-install/ugtk2.pm
parentac022583859306b7b63c3773072337a9cec48256 (diff)
downloaddrakx-backup-do-not-use-4a78d0792f739c91baa551a525c5c6cf6da3fb1a.tar
drakx-backup-do-not-use-4a78d0792f739c91baa551a525c5c6cf6da3fb1a.tar.gz
drakx-backup-do-not-use-4a78d0792f739c91baa551a525c5c6cf6da3fb1a.tar.bz2
drakx-backup-do-not-use-4a78d0792f739c91baa551a525c5c6cf6da3fb1a.tar.xz
drakx-backup-do-not-use-4a78d0792f739c91baa551a525c5c6cf6da3fb1a.zip
hopefully final fix for pop_it
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 1558bb9b3..f4ba5a7c6 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -747,8 +747,8 @@ sub new {
$o->{pop_it} ||= $pop_it || $::WizardTable && do {
my @l = $::WizardTable->get_children;
- shift @l if !$::isInstall; #- don't take into account the DrawingArea
- @l > 1 || @l && $l[-1]->visible;
+ pop @l if !$::isInstall; #- don't take into account the DrawingArea
+ @l && $l[-1]->visible;
};
if ($::isWizard && !$o->{pop_it}) {