summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-24 14:23:21 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-24 14:23:21 +0000
commit55f3bf693398690a74003c11a08ea0002424878a (patch)
tree374676ee2e50e4e0a5957d39eb06bbf7d2edc45a /perl-install/mygtk2.pm
parent5fa03644dd447dd5c3069e85a4db161e7b36d982 (diff)
downloaddrakx-55f3bf693398690a74003c11a08ea0002424878a.tar
drakx-55f3bf693398690a74003c11a08ea0002424878a.tar.gz
drakx-55f3bf693398690a74003c11a08ea0002424878a.tar.bz2
drakx-55f3bf693398690a74003c11a08ea0002424878a.tar.xz
drakx-55f3bf693398690a74003c11a08ea0002424878a.zip
(_gtk__MDV_Notebook) do not hardcode width
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r--perl-install/mygtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 642b97906..7687cb22f 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -644,7 +644,7 @@ sub _gtk__MDV_Notebook {
my $right_background = gtknew('Image', file => "right-white-background_left_part$suffix", flip => $is_flip_needed);
my $width1 = $left_background->get_pixbuf->get_width;
my $total_width = $width1 + $right_background->get_pixbuf->get_width;
- my $arrow_x = text_direction_rtl() ? $offset/2 -4 : $::stepswidth - $offset -3;
+ my $arrow_x = text_direction_rtl() ? $offset/2 -3 : $width1 - $offset -4;
$w = gtknew('HBox', spacing => 0, children => [
0, $layout = gtknew('Layout', width => $total_width - $offset, children => [ #Layout Fixed
# stacking order is important for "Z-buffer":