diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_gtk.pm | 6 |
1 files changed, 2 insertions, 4 deletions
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 { |