summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-07 15:16:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-07 15:16:28 +0000
commit644ae805dfdd9ea7cca5c50521e9ed3a6c0801eb (patch)
treec2ec399348b12cb1a8c5e101ccb79c013dc8a545 /perl-install/ugtk2.pm
parent1c2faefdc0d57d1f4423bec36aaad88c242392a3 (diff)
downloaddrakx-644ae805dfdd9ea7cca5c50521e9ed3a6c0801eb.tar
drakx-644ae805dfdd9ea7cca5c50521e9ed3a6c0801eb.tar.gz
drakx-644ae805dfdd9ea7cca5c50521e9ed3a6c0801eb.tar.bz2
drakx-644ae805dfdd9ea7cca5c50521e9ed3a6c0801eb.tar.xz
drakx-644ae805dfdd9ea7cca5c50521e9ed3a6c0801eb.zip
$w->{isEmbedded} is unused
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm8
1 files changed, 3 insertions, 5 deletions
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");