summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-07 15:10:20 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-07 15:10:20 +0000
commit1c2faefdc0d57d1f4423bec36aaad88c242392a3 (patch)
tree3f876be2d16b373d8239558152a1d881aadb10fd /perl-install
parentd0b6fcff301e0ce274a7872cfcbd1c9d3d585dd0 (diff)
downloaddrakx-backup-do-not-use-1c2faefdc0d57d1f4423bec36aaad88c242392a3.tar
drakx-backup-do-not-use-1c2faefdc0d57d1f4423bec36aaad88c242392a3.tar.gz
drakx-backup-do-not-use-1c2faefdc0d57d1f4423bec36aaad88c242392a3.tar.bz2
drakx-backup-do-not-use-1c2faefdc0d57d1f4423bec36aaad88c242392a3.tar.xz
drakx-backup-do-not-use-1c2faefdc0d57d1f4423bec36aaad88c242392a3.zip
$w->{isWizard} is unused
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/interactive/gtk.pm2
-rw-r--r--perl-install/ugtk2.pm5
2 files changed, 3 insertions, 4 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index a0dceff4e..d234a3ad2 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -732,7 +732,7 @@ sub wait_messageW($$$) {
$box->pack_start($_, 1, 1, 4) foreach @l;
($w->{wait_messageW} = $l[-1])->signal_connect(expose_event => sub { $w->{displayed} = 1; 0 });
- $w->{rwindow}->set_position('center') if $::isStandalone && !$w->{isEmbedded} && !$w->{isWizard};
+ $w->{rwindow}->set_position('center') if $::isStandalone && !$w->{isEmbedded} && !$::isWizard;
$w->{window}->show_all;
$w->sync until $w->{displayed};
$w;
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index ee8fcc568..5714856d5 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -831,10 +831,9 @@ sub new {
my $o = bless { %opts }, $type;
while (my $e = shift @tempory::objects) { $e->destroy }
- $o->{isWizard} ||= $::isWizard;
$o->{isEmbedded} ||= $::isEmbedded;
- $o->{pop_it} ||= $pop_it || !$o->{isWizard} && !$o->{isEmbedded} || $::WizardTable && do {
+ $o->{pop_it} ||= $pop_it || !$::isWizard && !$o->{isEmbedded} || $::WizardTable && do {
#- do not take into account the DrawingArea
any { !$_->isa('Gtk2::DrawingArea') && $_->visible } $::WizardTable->get_children;
};
@@ -895,7 +894,7 @@ sub new {
}
sub set_main_window_size {
my ($o) = @_;
- my ($width, $height) = $::isInstall ? ($::real_windowwidth, $::real_windowheight) : $o->{isWizard} ? (540, 360) : (600, 400);
+ my ($width, $height) = $::isInstall ? ($::real_windowwidth, $::real_windowheight) : $::isWizard ? (540, 360) : (600, 400);
$o->{window}->set_size_request($width, $height);
}