From c7e4e9170fc832bcc4ce9d9e2d6fe1f8eada336e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 6 Apr 2005 14:28:01 +0000 Subject: fix position of steps window in direction rtl (bugzilla #15261) --- perl-install/install_gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install_gtk.pm') diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm index e3b65e569..ca0d8ba6a 100644 --- a/perl-install/install_gtk.pm +++ b/perl-install/install_gtk.pm @@ -146,7 +146,7 @@ sub create_steps_window { my $offset = 20; $o->{steps_window} = gtknew('Window', width => ($::stepswidth - $offset), widget_name => 'Steps', - position => [ lang::text_direction_rtl() ? ($::rootwidth - $::stepswidth - $offset) : $offset, 150 ], + position => [ lang::text_direction_rtl() ? $::rootwidth - $::stepswidth : $offset, 150 ], child => gtknew('VBox', spacing => 6, children_tight => \@l)); $o->{steps_window}->show; } -- cgit v1.2.1