summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_gtk.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm
index a1134de91..dbcebdbfb 100644
--- a/perl-install/install_gtk.pm
+++ b/perl-install/install_gtk.pm
@@ -176,15 +176,13 @@ sub create_logo_window {
my $file = $o->{meta_class} eq 'firewall' ? "logo-mandrake-Firewall.png" : "logo-mandrake.png";
- my $w = bless {}, 'ugtk2';
- $w->{rwindow} = $w->{window} =
+ $o->{logo_window} =
gtknew('Window',
width => $::logowidth, height => $::logoheight,
widget_name => 'logo',
child => gtknew('Image', file => $file),
);
- $w->show;
- $o->{logo_window} = $w;
+ $o->{logo_window}->show;
}
#------------------------------------------------------------------------------