diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-24 14:23:21 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-24 14:23:21 +0000 |
commit | 55f3bf693398690a74003c11a08ea0002424878a (patch) | |
tree | 374676ee2e50e4e0a5957d39eb06bbf7d2edc45a | |
parent | 5fa03644dd447dd5c3069e85a4db161e7b36d982 (diff) | |
download | drakx-55f3bf693398690a74003c11a08ea0002424878a.tar drakx-55f3bf693398690a74003c11a08ea0002424878a.tar.gz drakx-55f3bf693398690a74003c11a08ea0002424878a.tar.bz2 drakx-55f3bf693398690a74003c11a08ea0002424878a.tar.xz drakx-55f3bf693398690a74003c11a08ea0002424878a.zip |
(_gtk__MDV_Notebook) do not hardcode width
-rw-r--r-- | perl-install/mygtk2.pm | 2 |
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": |