summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-04-06 14:28:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-04-06 14:28:01 +0000
commitc7e4e9170fc832bcc4ce9d9e2d6fe1f8eada336e (patch)
treee434272a884e0d907876ba94ce57fe93a1b8f7aa
parenta5bea4f68ecf479dcaf161b842a0fb6dde2b7062 (diff)
downloaddrakx-c7e4e9170fc832bcc4ce9d9e2d6fe1f8eada336e.tar
drakx-c7e4e9170fc832bcc4ce9d9e2d6fe1f8eada336e.tar.gz
drakx-c7e4e9170fc832bcc4ce9d9e2d6fe1f8eada336e.tar.bz2
drakx-c7e4e9170fc832bcc4ce9d9e2d6fe1f8eada336e.tar.xz
drakx-c7e4e9170fc832bcc4ce9d9e2d6fe1f8eada336e.zip
fix position of steps window in direction rtl (bugzilla #15261)
-rw-r--r--perl-install/install_gtk.pm2
1 files changed, 1 insertions, 1 deletions
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;
}