From 44bf33a127efeb9dff9518edeef72e146d712aae Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 11 Jan 2005 08:40:56 +0000 Subject: don't fake a ugtk2, use pure mygtk2 instead --- perl-install/install_gtk.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'perl-install/install_gtk.pm') diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm index 5a1aaff29..a1134de91 100644 --- a/perl-install/install_gtk.pm +++ b/perl-install/install_gtk.pm @@ -143,14 +143,12 @@ sub create_steps_window { push @l, gtknew('HBox', spacing => 7, children_tight => [ '', '', $img, translate($o->{steps}{$_}{text}) ]); } - my $w = bless {}, 'ugtk2'; my $offset = 20; - $w->{rwindow} = $w->{window} = + $o->{steps_window} = gtknew('Window', width => ($::stepswidth - $offset), widget_name => 'Steps', position => [ lang::text_direction_rtl() ? ($::rootwidth - $::stepswidth - $offset) : $offset, 150 ], child => gtknew('VBox', spacing => 6, children_tight => \@l)); - $w->show; - $o->{steps_window} = $w; + $o->{steps_window}->show; } sub update_steps_position { -- cgit v1.2.1