diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/interactive/gtk.pm | 2 | ||||
-rw-r--r-- | perl-install/ugtk2.pm | 8 |
2 files changed, 4 insertions, 6 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index d234a3ad2..b40f70a47 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} && !$::isWizard; + $w->{rwindow}->set_position('center') if $::isStandalone && !$::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 5714856d5..83f076a19 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -831,9 +831,7 @@ sub new { my $o = bless { %opts }, $type; while (my $e = shift @tempory::objects) { $e->destroy } - $o->{isEmbedded} ||= $::isEmbedded; - - $o->{pop_it} ||= $pop_it || !$::isWizard && !$o->{isEmbedded} || $::WizardTable && do { + $o->{pop_it} ||= $pop_it || !$::isWizard && !$::isEmbedded || $::WizardTable && do { #- do not take into account the DrawingArea any { !$_->isa('Gtk2::DrawingArea') && $_->visible } $::WizardTable->get_children; }; @@ -861,7 +859,7 @@ sub new { $::WizardTable ||= gtknew('VBox'); - if (!$::Plug && $o->{isEmbedded}) { + if (!$::Plug && $::isEmbedded) { $::Plug = $::WizardWindow = gtknew('Plug', socket_id => $::XID, icon => wm_icon(), @@ -877,7 +875,7 @@ sub new { if ($::isInstall) { require install_gtk; #- for perl_checker $::WizardWindow->signal_connect(key_press_event => \&install_gtk::special_shortcuts); - } elsif (!$o->{isEmbedded}) { + } elsif (!$::isEmbedded) { $::WizardWindow->set_position('center_always') if !$::isStandalone; eval { gtkpack__($::WizardTable, Gtk2::Banner->new(wm_icon(), $::Wizard_title)) }; $@ and log::l("ERROR: missing wizard banner"); |